summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-05-03 11:48:46 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-05 01:13:52 +0300
commitdc45eb20a83d11ed649169fbe9159ed6bf586c88 (patch)
treec91ce06cf9ec105408d24c2c612f751b8926294a /include
parente10cfdc33a0f23dc8449be7267f0a642e96a2a24 (diff)
downloadlinux-dc45eb20a83d11ed649169fbe9159ed6bf586c88.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/acpi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 6c7176efd543..0ccfeba71fcf 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -359,8 +359,8 @@ extern bool wmi_has_guid(const char *guid);
extern char acpi_video_backlight_string[];
extern long acpi_is_video_device(acpi_handle handle);
extern int acpi_blacklisted(void);
-extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d);
-extern void acpi_dmi_osi_darwin(int enable, const struct dmi_system_id *d);
+extern void acpi_dmi_osi_linux(bool enable, const struct dmi_system_id *d);
+extern void acpi_dmi_osi_darwin(bool enable, const struct dmi_system_id *d);
extern void acpi_osi_setup(char *str);
extern bool acpi_osi_is_win8(void);