[PATCH 0/8] fujitsu-laptop: use sparse keymaps for input event handling
From: MichaÅ KÄpieÅ
Date: Mon Mar 20 2017 - 08:48:23 EST
This series simplifies handling of both brightness key and hotkey input
events on Fujitsu laptops by making use of sparse keymaps. This not
only makes the driver shorter and, hopefully, cleaner, but also enables
us to get rid of the keycodeX fields inside struct fujitsu_bl, which
facilitates further cleanups. Also, to simplify error handling, input
devices registered by fujitsu-laptop are migrated to the devres API
along the way.
This series was tested on a Lifebook S7020 and a Lifebook E744.
This series depends on the platform cleanup series I posted last week.
While that series has not yet been merged into testing, Jonathan has
reviewed it and Darren also seemed to be okay with it, so I just assumed
it will get merged soon. I wanted to post this one as soon as possible
as it requires a bit more thorough review and testing compared to the
previous series I posted for fujitsu-laptop.
drivers/platform/x86/Kconfig | 1 +
drivers/platform/x86/fujitsu-laptop.c | 355 +++++++++++++++-------------------
2 files changed, 154 insertions(+), 202 deletions(-)
--
2.12.0