platform/x86: thinkpad_acpi: Move hotkey_user_mask check to tpacpi_input_send_key()
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Apr 2024 12:28:20 +0000 (14:28 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 09:44:12 +0000 (11:44 +0200)
commit33ecfb852280bdeee906015a7d171a40abf9683d
tree6e89ceab15d00f238306abc7f5cdc99cb1052547
parentba69660627eadb0983483fff376dceb55a773562
platform/x86: thinkpad_acpi: Move hotkey_user_mask check to tpacpi_input_send_key()

Move hotkey_user_mask check to tpacpi_input_send_key(), this is
a preparation patch for further refactoring.

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-11-hdegoede@redhat.com
drivers/platform/x86/thinkpad_acpi.c