[lkml]   [2017]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/8] fujitsu-laptop: use sparse keymaps for input event handling
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(-)


 \ /
  Last update: 2017-03-20 13:49    [W:0.075 / U:6.308 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site