efi: efivars: make efivar_supports_writes() return bool
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 17 Jan 2023 12:43:10 +0000 (13:43 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 17 Jan 2023 15:21:45 +0000 (16:21 +0100)
commit2cf9e278efeff8f8bbb9580e2d6760e19795e310
tree91af6e13853ac31a349f548479f201087e50b5d8
parentade7fd908d710d0ab865c273df782c75528636ef
efi: efivars: make efivar_supports_writes() return bool

For consistency with the new efivar_is_available() function, change the
return type of efivar_supports_writes() to bool.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/vars.c
include/linux/efi.h