]> git.karo-electronics.de Git - karo-tx-linux.git/commit
platform/x86: fujitsu-laptop: autodetect LCD interface on all models
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 8 Feb 2017 13:46:32 +0000 (14:46 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 26 Feb 2017 15:01:48 +0000 (17:01 +0200)
commit5296a73613814a15e54ebddc2843ec0f84951d60
tree38a6c55bbc4261102fb43e9f2cda6c813ba809c1
parentc1d1e8a051761fb808308dab32b9351e1d1fbb9b
platform/x86: fujitsu-laptop: autodetect LCD interface on all models

Presence of ACPI method SBL2 should be checked on all models rather than
just the ones with predefined hotkey keycode overrides.  Move most of
dmi_check_cb_common() to acpi_fujitsu_bl_add().  Adjust indentation to
make checkpatch happy.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
[kempniu: rebase patch, rewrite commit message]
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
drivers/platform/x86/fujitsu-laptop.c