aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorStefan Seyfried <[email protected]>2022-06-24 13:23:35 +0200
committerHans de Goede <[email protected]>2022-06-28 21:53:35 +0200
commit65a3e6c8d3f7c346813a05f3d76fc46b640d76d6 (patch)
treebea80e881a4a965efb7105318fda5ef8cf7dd227 /lib/netdev-notifier-error-inject.c
parent3a0cf7ab8df3878a7e2f3d29275b785cf4e7afb6 (diff)
platform/x86: panasonic-laptop: de-obfuscate button codes
In the definition of panasonic_keymap[] the key codes are given in decimal, later checks are done with hexadecimal values, which does not help in understanding the code. Additionally use two helper variables to shorten the code and make the logic more obvious. Fixes: ed83c9171829 ("platform/x86: panasonic-laptop: Resolve hotkey double trigger bug") Signed-off-by: Stefan Seyfried <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions