aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_core.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-03-30 17:48:18 +0000
committerLen Brown <len.brown@intel.com>2009-04-05 02:25:07 -0400
commit373cfc360ec773be2f7615e59a19f3313255db7c (patch)
tree86c68db2a5f5b1b400bda46370353e109c9d5482 /drivers/acpi/processor_core.c
parentACPI: support acpi_device_ops .notify methods (diff)
downloadlinux-dev-373cfc360ec773be2f7615e59a19f3313255db7c.tar.xz
linux-dev-373cfc360ec773be2f7615e59a19f3313255db7c.zip
ACPI: button: 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. Note that events from fixed hardware buttons now show up as a special notify event, so to preserve user-space backward compatibility, we convert that back to ACPI_BUTTON_NOTIFY_STATUS. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Reviewed-by: Alex Chiang <achiang@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/processor_core.c')
0 files changed, 0 insertions, 0 deletions