brcmfmac: Switch to appropriate helper to load EFI variable contents
authorArd Biesheuvel <ardb@kernel.org>
Fri, 17 Jun 2022 16:12:06 +0000 (18:12 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jun 2022 10:43:25 +0000 (12:43 +0200)
commit98e152c19b66cfe44e1924d2554626a25758f1ea
tree13bd72f3db6315525f29b9988fc4ed1544d2e777
parent0c4bad7f47c4e5ff82c82fbdd4f4ab3105b98fc9
brcmfmac: Switch to appropriate helper to load EFI variable contents

Avoid abusing the efivar layer by invoking it with locally constructed
efivar_entry instances, and instead, just call the EFI routines directly
if available.

Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c