mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
wmi: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
parent
5d3fc1d54e
commit
097c27fcb2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue