platform/x86: fujitsu-laptop: use a sparse keymap for brightness key events
authorMichał Kępień <kernel@kempniu.pl>
Mon, 20 Mar 2017 09:32:19 +0000 (10:32 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:14:26 +0000 (10:14 -0700)
commitf22526723775f4de1b37335a63b80fb2b00ba4ef
treeed40c1fa8c67197aca6032a9b87dc2f71a8fef4e
parentf8a399dcfae913e773cbef6a940755953cdd70a3
platform/x86: fujitsu-laptop: use a sparse keymap for brightness key events

Simplify brightness key event generation by using a sparse keymap.

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>
drivers/platform/x86/Kconfig
drivers/platform/x86/fujitsu-laptop.c