ACPI: hp-wmi, msi-wmi: clarify that wmi_install_notify_handler() returns an acpi_status
authorLen Brown <len.brown@intel.com>
Sun, 27 Dec 2009 03:04:03 +0000 (22:04 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 30 Dec 2009 07:48:52 +0000 (02:48 -0500)
commitf27725756be8a2c2dc65eaf70d0b52807aa2f113
treee8875a7dc8821c36759a2e27acc433cecd8b0069
parentabb631bfe271a9102fb5b05419272b7aec37a974
ACPI: hp-wmi, msi-wmi: clarify that wmi_install_notify_handler() returns an acpi_status

Emphasize that that wmi_install_notify_handler() returns an acpi_status
rather than -errno by by testing ACPI_SUCCESS(), ACPI_FAILURE().

No functional change in this patch, but this confusion caused a bug in dell-wmi.

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/hp-wmi.c
drivers/platform/x86/msi-wmi.c