]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: fujitsu-laptop: sanitize hotkey input device identification
authorMichał Kępień <kernel@kempniu.pl>
Fri, 16 Jun 2017 04:40:55 +0000 (06:40 +0200)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 1 Jul 2017 03:13:04 +0000 (20:13 -0700)
commitff65e918672d594d837362667abe7c3325ce71b5
treecb7b615366cb248185e85dd8ce8d871d1d7942e0
parentfda1a5855a753ec12fc92623927085726fcc75de
platform/x86: fujitsu-laptop: sanitize hotkey input device identification

In the case of brightness-related FUJ02B1 ACPI device, initializing the
input device associated with it identically as acpi-video initializes
its input device makes sense.  However, using the same data for the
input device associated with the FUJ02E3 ACPI device makes little sense,
because the latter has nothing to do with video and assigning an
arbitrary product ID to it is redundant.

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