]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae9c4ed04a1c13ea2f9f02dc89f8ac536828978c
tree47f8c4f7bd3b4c16360eeb062e40e1bc8f3406e6
parent2a62da3a8592e450ab2915488e48569c2d91d04d
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