]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: video: use .notify method instead of installing handler directly
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 7 Apr 2009 15:37:11 +0000 (15:37 +0000)
committerLen Brown <len.brown@intel.com>
Tue, 7 Apr 2009 20:26:57 +0000 (16:26 -0400)
commitfd2bfa9106cec3642d0850550cd730365f5c8e6e
tree253519cdfbcc62f1e8ffae6353ceb7d801f4322b
parent7ccc30210de28d68a4cd24b8d565b79bf98491de
ACPI: video: 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.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
CC: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c