Input: applespi - avoid efivars API and invoke EFI services directly
authorArd Biesheuvel <ardb@kernel.org>
Fri, 17 Jun 2022 16:34:06 +0000 (18:34 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 24 Jun 2022 08:21:20 +0000 (10:21 +0200)
commitf662092b2e0c4a43d09e5b1f67ca969ea47a93d3
tree47f8c4f7bd3b4c16360eeb062e40e1bc8f3406e6
parentc07d2475f9cd7eaf6ddc60b5d284b375699d9553
Input: applespi - avoid efivars API and invoke EFI services directly

This driver abuses the efivar API, by using a few of its helpers on
entries that were not instantiated by the API itself. This is a problem
as future cleanup work on efivars is complicated by this.

So let's just switch to the get/set variable runtime wrappers directly.

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/input/keyboard/applespi.c