diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-04-24 15:28:29 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-04-29 12:53:52 +0300 |
commit | 42f7b965de9dad87857723422115a1a36fd2e169 (patch) | |
tree | 72060a0aebd73b3426f5129b8197a4f8e6e7e1ee /tools/perf/scripts/python/gecko.py | |
parent | 276d91599f828d97bf579674a24a40662cd8ab41 (diff) | |
download | linux-42f7b965de9dad87857723422115a1a36fd2e169.tar.xz |
platform/x86: thinkpad_acpi: Switch to using sparse-keymap helpers
Switch the hotkey keymap handling over to the sparse-keymap helpers,
there should be no functional changes from this.
Note all the mappings to KEY_UNKNOWN are removed since that is the default
behavior of sparse_keymap_report_event() for unknown scancodes.
Also drop the big comment about making changes to the keymaps since
the contents of that comment are mostly obsolete.
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-20-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions