diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2009-04-30 19:35:53 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-18 08:13:15 +0400 |
commit | 586ed1604fd6137cae1e8ede8143c3b8897306fd (patch) | |
tree | 0a701eea65ecd372fa1d38cd4edb1b899fe36958 /fs/partitions | |
parent | d94066910943837558d2a461c6766da981260bf0 (diff) | |
download | linux-586ed1604fd6137cae1e8ede8143c3b8897306fd.tar.xz |
ACPI: asus-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 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: Corentin Chary <corentincj@iksaif.net>
CC: acpi4asus-user@lists.sourceforge.net
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions