aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/asb100.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-04-30 09:35:47 -0600
committerLen Brown <len.brown@intel.com>2009-06-18 00:13:14 -0400
commitd94066910943837558d2a461c6766da981260bf0 (patch)
tree1c423553bd1456edcb209c1ec762bd8f647946ea /drivers/hwmon/asb100.c
parent48fe112744d1ff2e899a6491633ac58a3229aabf (diff)
ACPI: battery: 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/hwmon/asb100.c')
0 files changed, 0 insertions, 0 deletions