]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: platform: change 0x20 to I8042_STR_AUXDATA in i8042 filters
authorGiedrius Statkevičius <giedriuswork@gmail.com>
Fri, 17 Oct 2014 23:57:20 +0000 (02:57 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 19 Nov 2014 17:07:07 +0000 (09:07 -0800)
commit50ec2acb7ed1d9e590bbeb523e6735350e2afbc9
treeed33958666ad98949cdf8f2cc463fca2c63171b9
parentd40522117ae41711032e61434cda9fb2474bded5
drivers: platform: change 0x20 to I8042_STR_AUXDATA in i8042 filters

Instead of using a magic constant 0x20 in some drivers to get data only
from the KBC port we should use the constant defined in i8042.h with
the same value. Also, this makes these drivers uniform with what
constant the only other filter function uses in
drivers/input/misc/ideapad_slidebar.c.

Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-laptop.c
drivers/platform/x86/msi-laptop.c
drivers/platform/x86/toshiba_acpi.c