platform/x86: dell-wmi: Set correct keycode for Fn + left arrow
authorHenk <henk.vergonet@gmail.com>
Tue, 1 May 2018 11:11:54 +0000 (13:11 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 22 May 2018 09:24:12 +0000 (12:24 +0300)
commit8b0695841da8a66e26ca9e7656c238d4c91d48d2
tree263a144749feb43807d7b761cbdd3e3633d13d14
parentc7a437fdd6e794290082cd19808627c661e15c5d
platform/x86: dell-wmi: Set correct keycode for Fn + left arrow

Fn + left arrow hotkey combination is used for enabling/disabling automatic
display brightness based on integrated ALS sensor. For this purpose there
is standard Linux key KEY_BRIGHTNESS_AUTO so use it instead of KEY_UNKNOWN.

Tested on Dell Lattitude E6500.

Signed-off-by: Henk Vergonet <henk.vergonet@gmail.com>
Reviewed-By: Pali Rohár <pali.rohar@gmail.com>
Reviewed-By: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-wmi.c