summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-03-20 10:32:23 +0100
committerDarren Hart (VMware) <dvhart@infradead.org>2017-04-13 10:14:31 -0700
commitf8c94ecd8f6adf241f7cbfdc3e004e94b0238fc8 (patch)
tree897a6d7e5b2306e77ac9162b9ae4e8b65f7019e3 /mm
parent527483a8e1cf6c78b4e15545d57013d9a958482a (diff)
downloadlinux-stable-f8c94ecd8f6adf241f7cbfdc3e004e94b0238fc8.tar.gz
linux-stable-f8c94ecd8f6adf241f7cbfdc3e004e94b0238fc8.tar.bz2
linux-stable-f8c94ecd8f6adf241f7cbfdc3e004e94b0238fc8.zip
platform/x86: fujitsu-laptop: model-dependent sparse keymap overrides
Some laptop models need to have different keycodes assigned to hotkey scancodes. Change the sparse keymap upon a DMI match, before the hotkey input device is setup. Instead of using three different callbacks in the DMI match table, simplify code by using the driver_data field of struct dmi_system_id to supply the requested keymap to a common callback. Also merge keymaps for S6410 and S6420 as they are identical. Rename fujitsu_dmi_table to fujitsu_laptop_dmi_table to emphasize it is no longer used by the backlight part of fujitsu-laptop. Adjust whitespace to make checkpatch happy. Signed-off-by: Michał Kępień <kernel@kempniu.pl> Reviewed-by: Jonathan Woithe <jwoithe@just42.net> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions