diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index 26a0bd893b86826663b22835c940b17dc1a7e80d..aac47573f9ed83e4c42ea84aef9c3940644e4db1 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c @@ -239,10 +239,10 @@ static bool find_guid(const char *guid_string, struct wmi_block **out) if (memcmp(block->guid, guid_input, 16) == 0) { if (out) *out = wblock; - return 1; + return true; } } - return 0; + return false; } static acpi_status wmi_method_enable(struct wmi_block *wblock, int enable)