[PATCH 0/2] efi: efivars: drop kobject from efivars_register()
From: Johan Hovold
Date: Tue Jan 17 2023 - 07:46:24 EST
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
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