Skip to content

efi: efivars: drop kobject from efivars_register()

Johan Hovold linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi: efivars: drop kobject from efivars_register()drivers/firmware/efi/efi.c drivers/firmware/efi/vars.c drivers/firmware/google/gsmi.c +2 more+16 -200 replies
2/2efi: efivars: make efivar_supports_writes() return booldrivers/firmware/efi/vars.c include/linux/efi.h+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.38.2