]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: fujitsu-laptop: switch to a managed hotkey input device
authorMichał Kępień <kernel@kempniu.pl>
Mon, 20 Mar 2017 09:32:21 +0000 (10:32 +0100)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 13 Apr 2017 17:14:28 +0000 (10:14 -0700)
commit4778809ab5ea9e2321d837e7330b0cbb4e00fafa
treea9150773a973c32116a66a2ad79f745135bc2df0
parent65745de423665ecf34ccfba8b23e1202307abbc9
platform/x86: fujitsu-laptop: switch to a managed hotkey input device

Use a managed input device for hotkey events in order to simplify two
error paths and one cleanup function while also reducing the number of
local variables required.  Remove double assignment to make checkpatch
happy.

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/fujitsu-laptop.c