public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] efi: efivars: drop kobject from efivars_register()
@ 2023-01-17 12:43 Johan Hovold
  2023-01-17 12:43 ` [PATCH 1/2] " Johan Hovold
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johan Hovold @ 2023-01-17 12:43 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Matthew Garrett, Jeremy Kerr, Maximilian Luz, linux-efi,
	linux-kernel, Johan Hovold

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-17 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17 12:43 [PATCH 0/2] efi: efivars: drop kobject from efivars_register() Johan Hovold
2023-01-17 12:43 ` [PATCH 1/2] " Johan Hovold
2023-01-17 12:43 ` [PATCH 2/2] efi: efivars: make efivar_supports_writes() return bool Johan Hovold
2023-01-17 16:11 ` [PATCH 0/2] efi: efivars: drop kobject from efivars_register() Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox