summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_compat.c
diff options
context:
space:
mode:
authorStefan Seyfried <seife+kernel@b1-systems.com>2022-06-24 13:23:35 +0200
committerHans de Goede <hdegoede@redhat.com>2022-06-28 21:45:26 +0200
commit758babb511d883cd2aa784d48a362d92119ade99 (patch)
tree75a7622ba6c7bfca90222fbaa0ff95818e983d19 /net/xfrm/xfrm_compat.c
parent3888bb741177718177c49a6b1b7c174b5b18c1be (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 <seife+kernel@b1-systems.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220624112340.10130-3-hdegoede@redhat.com
Diffstat (limited to 'net/xfrm/xfrm_compat.c')
0 files changed, 0 insertions, 0 deletions