diff options
author | Bjorn Helgaas <[email protected]> | 2009-04-30 09:36:03 -0600 |
---|---|---|
committer | Len Brown <[email protected]> | 2009-06-18 00:13:15 -0400 |
commit | d9b9bd7b4a579ff0340d29c2547b952a920639e6 (patch) | |
tree | b7ce0c476949b42880e5522993693a4d5a9cbc91 /net/lapb/lapb_subr.c | |
parent | 352fa202c3320ac4844cd38fa72c7a91d7c4cfea (diff) |
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 <[email protected]>
CC: Corentin Chary <[email protected]>
CC: [email protected]
CC: Matthew Garrett <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions