public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sony-laptop: no need to unblock rfkill on load
@ 2009-06-08 10:31 Alan Jenkins
  2009-06-08 10:36 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Jenkins @ 2009-06-08 10:31 UTC (permalink / raw)
  To: Johannes Berg, Mattia Dongili; +Cc: linux-wireless@vger.kernel.org, linux acpi

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>
---

This patch applies on top of the rfkill rewrite in the wireless-testing tree.

diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index aec0b27..c1b21a4 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;
 }
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-09  9:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 10:31 [PATCH] sony-laptop: no need to unblock rfkill on load Alan Jenkins
2009-06-08 10:36 ` Johannes Berg
2009-06-08 22:49   ` Mattia Dongili
2009-06-09  8:31     ` Alan Jenkins
2009-06-09  9:21       ` Mattia Dongili
2009-06-09  9:30         ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox