ACPI / scan: fix fixed event handler return value
authorAaron Lu <aaron.lu@intel.com>
Fri, 13 Mar 2015 05:52:50 +0000 (13:52 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 01:06:49 +0000 (02:06 +0100)
commitfd9caef4e222a2c5e7ed63050780d215a6a263f3
tree6c9991f52589a217f577c83f05e68d990498f51b
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
ACPI / scan: fix fixed event handler return value

The fixed event handler should return a value that is either 0 or 1
meanning if the event is handled or not, instead of an acpi_status to
mean if the handler runs well or not.

Suggested-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c