mirror of https://gitee.com/openkylin/linux.git
sony-laptop: no need to unblock rfkill on load
The re-written rfkill core ensures rfkill devices are initialized to the system default state. The core calls set_block after registration so the driver shouldn't need to. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b3fa1329ea
commit
869fb3a46c
|
@ -1114,7 +1114,6 @@ static int sony_nc_setup_rfkill(struct acpi_device *device,
|
|||
return err;
|
||||
}
|
||||
sony_rfkill_devices[nc_type] = rfk;
|
||||
sony_nc_rfkill_set((void *)nc_type, false);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue