efi: gsmi: fix false dependency on CONFIG_EFI_VARS
authorArd Biesheuvel <ardb@kernel.org>
Wed, 23 Sep 2020 08:18:31 +0000 (10:18 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 29 Sep 2020 17:40:57 +0000 (19:40 +0200)
commit9846d86031eeca2fb2867fe4ac9d92803a97e8e4
tree0ed94b9fa48f8c587889a01c9cd9c1cc4d207c53
parent5d3c8617ccee6387ba73a5dba77fb9dc21cb85f4
efi: gsmi: fix false dependency on CONFIG_EFI_VARS

The gsmi code does not actually rely on CONFIG_EFI_VARS, since it only
uses the efivars abstraction that is included unconditionally when
CONFIG_EFI is defined. CONFIG_EFI_VARS controls the inclusion of the
code that exposes the sysfs entries, and which has been deprecated for
some time.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/google/Kconfig
drivers/firmware/google/gsmi.c