summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-04-30 15:36:03 (GMT)
committerLen Brown <len.brown@intel.com>2009-06-18 04:13:15 (GMT)
commitd9b9bd7b4a579ff0340d29c2547b952a920639e6 (patch)
treeb7ce0c476949b42880e5522993693a4d5a9cbc91 /drivers/acpi
parent352fa202c3320ac4844cd38fa72c7a91d7c4cfea (diff)
downloadlinux-fsl-qoriq-d9b9bd7b4a579ff0340d29c2547b952a920639e6.tar.xz
ACPI: eeepc-laptop: 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: acpi4asus-user@lists.sourceforge.net CC: Matthew Garrett <mjg@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions