linux/drivers/platform/x86
Corentin Chary 27c136c873 eeepc-wmi: rework eeepc_wmi_init and eeepc_wmi_exit
The old code was using platform_driver.probe to initialize
eeepc_wmi context. That's a mistake because if probe fail,
eeepc_platform_register() won't tell anyone, and chaos will happen.

Wrap add and remove code inside eeepc_wmi_add() / eeepc_wmi_remove(),
and try to use the static platform_device only in eeepc_wmi_init()
and eeepc_wmi_exit()

The code is now very similar to eeepc-laptop, except eeepc_laptop_add
and eeepc_laptop_remove are called from acpi_driver, not module
init/exit functions, but WMI doesn't provide such functionalities (yet ?).

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2011-01-07 17:03:42 -05:00
..
Kconfig intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
Makefile intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
acer-wmi.c Don't show error if Acer WMI is not found 2010-10-21 09:36:44 -04:00
acerhdf.c acerhdf: fix resource reclaim in error path 2010-08-03 09:49:01 -04:00
asus-laptop.c asus-laptop: add wimax and wwan support 2010-11-24 12:00:15 -05:00
asus_acpi.c drivers/platform/x86: Adjust confusing if indentation 2010-08-16 11:54:20 -04:00
classmate-laptop.c classmate-laptop: add missing input_sync call 2011-01-07 17:03:41 -05:00
compal-laptop.c platform/x86: move rfkill for Dell Mini 1012 to compal-laptop 2010-08-16 11:55:00 -04:00
dell-laptop.c dell-laptop: Add debugfs support 2010-10-21 09:36:49 -04:00
dell-wmi.c Input: dell-wmi - switch to using sparse keymap library 2010-10-21 09:36:43 -04:00
eeepc-laptop.c platform-x86: sync eeepc-laptop and asus-laptop 2010-10-21 09:36:43 -04:00
eeepc-wmi.c eeepc-wmi: rework eeepc_wmi_init and eeepc_wmi_exit 2011-01-07 17:03:42 -05:00
fujitsu-laptop.c fujitsu-laptop: make needlessly global symbols static 2010-08-03 09:49:00 -04:00
hdaps.c Move hdaps driver to platform/x86 2010-10-21 10:10:43 -04:00
hp-wmi.c ACPI, hp-wmi: Fix memory leak in acpi query 2010-11-24 12:07:10 -05:00
ibm_rtl.c ibm_rtl: _RTL_ is not available in UEFI mode 2010-11-24 12:00:03 -05:00
ideapad-laptop.c ideapad: Add param: no_bt_rfkill 2010-10-21 09:36:51 -04:00
intel_ips.c drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_ips.h drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_menlow.c intel_menlow: fix memory leaks in error path 2010-08-03 09:48:40 -04:00
intel_pmic_gpio.c Remove duplicate includes from many files 2010-10-27 18:03:18 -07:00
intel_rar_register.c rar: Fix off by one error 2010-08-24 10:42:08 -07:00
intel_scu_ipc.c intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
intel_scu_ipcutil.c intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
msi-laptop.c msi-laptop: make struct rfkill_ops const 2010-08-03 09:49:00 -04:00
msi-wmi.c msi-wmi: fix semantically incorrect use of keycode instead of scancode 2010-11-24 12:00:28 -05:00
panasonic-laptop.c panasonic-laptop: Simplify calls to acpi_pcc_retrieve_biosdata 2010-10-21 10:10:50 -04:00
sony-laptop.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
tc1100-wmi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
thinkpad_acpi.c drivers/platform/x86: Remove unnecessary semicolons 2011-01-07 17:03:40 -05:00
topstar-laptop.c topstar-laptop - switch to using sparse keymap library 2010-10-21 09:36:42 -04:00
toshiba_acpi.c toshiba_acpi.c: Add key_entry for a lone FN keypress 2010-11-24 11:59:37 -05:00
toshiba_bluetooth.c ACPI: replace acpi_integer by u64 2010-01-28 01:47:33 -05:00
wmi.c WMI: Cater for multiple events with same GUID 2011-01-07 17:03:41 -05:00
xo1-rfkill.c Add OLPC XO-1 rfkill driver 2010-10-21 10:10:44 -04:00