From: Alan Jenkins Date: Mon, 8 Jun 2009 10:31:11 +0000 (+0100) Subject: sony-laptop: no need to unblock rfkill on load X-Git-Tag: v2.6.31-rc1~14^2~141^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=869fb3a46cd18235e6f176328a2d8085ffe2c704;p=platform%2Fkernel%2Flinux-3.10.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 Signed-off-by: John W. Linville --- diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index f289344..e48d9a4 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -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; }