linux/drivers/platform/x86
Alan Jenkins b3fa1329ea rfkill: remove set_global_sw_state
rfkill_set_global_sw_state() (previously rfkill_set_default()) will no
longer be exported by the rewritten rfkill core.

Instead, platform drivers which can provide persistent soft-rfkill state
across power-down/reboot should indicate their initial state by calling
rfkill_set_sw_state() before registration.  Otherwise, they will be
initialized to a default value during registration by a set_block call.

We remove existing calls to rfkill_set_sw_state() which happen before
registration, since these had no effect in the old model.  If these
drivers do have persistent state, the calls can be put back (subject
to testing :-).  This affects hp-wmi and acer-wmi.

Drivers with persistent state will affect the global state only if
rfkill-input is enabled.  This is required, otherwise booting with
wireless soft-blocked and pressing the wireless-toggle key once would
have no apparent effect.  This special case will be removed in future
along with rfkill-input, in favour of a more flexible userspace daemon
(see Documentation/feature-removal-schedule.txt).

Now rfkill_global_states[n].def is only used to preserve global states
over EPO, it is renamed to ".sav".

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-06-10 13:28:37 -04:00
..
acer-wmi.c rfkill: remove set_global_sw_state 2009-06-10 13:28:37 -04:00
asus_acpi.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
asus-laptop.c asus-laptop: fix input keycode 2009-05-14 11:27:46 -04:00
compal-laptop.c create drivers/platform/x86/ from drivers/misc/ 2008-12-19 04:42:32 -05:00
dell-laptop.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
dell-wmi.c dell-wmi: new driver for hotkey control 2009-04-03 22:54:50 -04:00
eeepc-laptop.c rfkill: remove set_global_sw_state 2009-06-10 13:28:37 -04:00
fujitsu-laptop.c fujitsu-laptop: use .notify method instead of installing hotkey handler directly 2009-04-07 16:26:58 -04:00
hp-wmi.c rfkill: remove set_global_sw_state 2009-06-10 13:28:37 -04:00
intel_menlow.c thermal: use integers rather than strings for thermal values 2009-02-20 10:52:37 -05:00
Kconfig rfkill: rewrite 2009-06-03 14:06:13 -04:00
Makefile dell-wmi: new driver for hotkey control 2009-04-03 22:54:50 -04:00
msi-laptop.c create drivers/platform/x86/ from drivers/misc/ 2008-12-19 04:42:32 -05:00
panasonic-laptop.c Merge branches 'release', 'APERF', 'ARAT', 'misc', 'kelvin', 'device-lock' and 'bjorn.notify' into release 2009-04-07 18:18:42 -04:00
sony-laptop.c sony: fix rfkill code 2009-06-10 13:27:55 -04:00
tc1100-wmi.c tc1100-wmi: Fix state reporting 2009-04-03 12:03:27 -04:00
thinkpad_acpi.c rfkill: remove set_global_sw_state 2009-06-10 13:28:37 -04:00
toshiba_acpi.c rfkill: rewrite 2009-06-03 14:06:13 -04:00
wmi.c ACPI: WMI: use .notify method instead of installing handler directly 2009-04-07 16:26:58 -04:00