linux/drivers/platform/x86
Bjorn Helgaas 352fa202c3 ACPI: asus-acpi: use .notify method instead of installing handler directly
This patch adds a .notify() method.  The presence of .notify() causes
Linux/ACPI to manage event handlers and notify handlers on our behalf,
so we don't have to install and remove them ourselves.

This driver relies on seeing system notify events, not device-specific
ones (because it used ACPI_SYSTEM_NOTIFY).  We use the
ACPI_DRIVER_ALL_NOTIFY_EVENTS driver flag to request all events, then
just ignore any device events we get.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
CC: Corentin Chary <corentincj@iksaif.net>
CC: Karol Kozimor <sziwan@users.sourceforge.net>
CC: acpi4asus-user@lists.sourceforge.net
Signed-off-by: Len Brown <len.brown@intel.com>
2009-06-18 00:13:15 -04:00
..
acer-wmi.c acer-wmi: Update copyright notice & documentation 2009-04-04 12:36:31 -04:00
asus_acpi.c ACPI: asus-acpi: use .notify method instead of installing handler directly 2009-06-18 00:13:15 -04:00
asus-laptop.c ACPI: asus-laptop: use .notify method instead of installing handler directly 2009-06-18 00:13:15 -04:00
compal-laptop.c create drivers/platform/x86/ from drivers/misc/ 2008-12-19 04:42:32 -05:00
dell-laptop.c dmi: Let dmi_walk() users pass private data 2009-03-30 21:46:44 +02:00
dell-wmi.c dell-wmi: new driver for hotkey control 2009-04-03 22:54:50 -04:00
eeepc-laptop.c eeepc-laptop: unregister_rfkill_notifier on failure 2009-05-14 11:28:27 -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 hp-wmi: notify of a potential docking state change on resume 2009-03-15 23:45:28 -04:00
intel_menlow.c thermal: use integers rather than strings for thermal values 2009-02-20 10:52:37 -05:00
Kconfig Merge branch 'dell-wmi' into release 2009-04-05 01:51:22 -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-laptop: always try to unblock rfkill on load 2009-04-23 23:57:34 -04:00
tc1100-wmi.c tc1100-wmi: Fix state reporting 2009-04-03 12:03:27 -04:00
thinkpad_acpi.c thinkpad-acpi: bump up version to 0.23 2009-04-18 01:19:54 -04:00
toshiba_acpi.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
wmi.c ACPI: WMI: use .notify method instead of installing handler directly 2009-04-07 16:26:58 -04:00