ACPI / osi: Cleanup OSI handling code to use bool
authorLv Zheng <lv.zheng@intel.com>
Tue, 3 May 2016 08:48:46 +0000 (16:48 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 May 2016 22:13:52 +0000 (00:13 +0200)
commitdc45eb20a83d11ed649169fbe9159ed6bf586c88
treec91ce06cf9ec105408d24c2c612f751b8926294a
parente10cfdc33a0f23dc8449be7267f0a642e96a2a24
ACPI / osi: Cleanup OSI handling code to use bool

This patch changes "int/unsigned int" to "bool" to simplify the code.

Tested-by: Lukas Wunner <lukas@wunner.de>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/blacklist.c
drivers/acpi/osl.c
include/linux/acpi.h