diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-04-30 09:35:42 -0600 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-18 00:13:14 -0400 |
commit | 48fe112744d1ff2e899a6491633ac58a3229aabf (patch) | |
tree | 8dd9f9350b424807742d8053d5f73f103071cdae /drivers/acpi/battery.c | |
parent | 6d2781310036a8d3fa2b590a6f83a298010fd64a (diff) | |
download | kernel_goldelico_gta04-48fe112744d1ff2e899a6491633ac58a3229aabf.zip kernel_goldelico_gta04-48fe112744d1ff2e899a6491633ac58a3229aabf.tar.gz kernel_goldelico_gta04-48fe112744d1ff2e899a6491633ac58a3229aabf.tar.bz2 |
ACPI: ac: 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 apparently relies on seeing ALL notify events, not just
device-specific ones (because it used ACPI_ALL_NOTIFY). We use the
ACPI_DRIVER_ALL_NOTIFY_EVENTS driver flag to request all events.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
CC: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/battery.c')
0 files changed, 0 insertions, 0 deletions