From: Bjorn Helgaas Date: Thu, 30 Apr 2009 15:35:42 +0000 (-0600) Subject: ACPI: ac: use .notify method instead of installing handler directly X-Git-Tag: v2.6.31-rc1~12^2~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48fe112744d1ff2e899a6491633ac58a3229aabf;p=pandora-kernel.git ACPI: ac: 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 CC: Alexey Starikovskiy Signed-off-by: Len Brown --- Reading git-diff-tree failed