Re: [PATCH 0/2] efi: efivars: drop kobject from efivars_register()

From: Ard Biesheuvel
Date: Tue Jan 17 2023 - 11:11:41 EST


On Tue, 17 Jan 2023 at 13:46, Johan Hovold <johan+linaro@xxxxxxxxxx> wrote:
>
> Since the removal of the deprecated efivars sysfs interface there are
> no users of the efivars kobject, which can be removed.
>
> Included is also a related patch changing the return type of
> efivar_supports_writes() to match the new efivar_is_available()
> function.
>
> Note that I intend to use efivar_is_available() in a driver with
> optional EFI support (hence the dummy implementation) and the removal of
> the kobject will simplify the upcoming Qualcomm UEFI Secure Application
> driver somewhat too.
>
> Johan
>
>
> Johan Hovold (2):
> efi: efivars: drop kobject from efivars_register()
> efi: efivars: make efivar_supports_writes() return bool
>

Thanks, I've queued these up now


> drivers/firmware/efi/efi.c | 2 +-
> drivers/firmware/efi/vars.c | 21 +++++++--------------
> drivers/firmware/google/gsmi.c | 2 +-
> fs/efivarfs/super.c | 2 +-
> include/linux/efi.h | 13 ++++++++-----
> 5 files changed, 18 insertions(+), 22 deletions(-)
>
> --
> 2.38.2
>