]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: thinkpad_acpi: Simplify known_ev handling
authorMark Pearson <mpearson-lenovo@squebb.ca>
Wed, 24 Apr 2024 12:28:31 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:53:52 +0000 (11:53 +0200)
commit5a3fc7a898574ec665ed8841691ce372fe22b992
tree887a0c8060e377addf6532d6506c8b9323764ae7
parent7545dc754b5555dbef2c966cce3fab48d8f22a68
platform/x86: thinkpad_acpi: Simplify known_ev handling

Modify how known_ev event is handled in preparation for adding new hkey
event range.

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20240417173124.9953-1-mpearson-lenovo@squebb.ca
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240424122834.19801-22-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c