Input: adp5589 - fix row 5 handling for adp5589
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 9 Feb 2016 17:35:33 +0000 (09:35 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Feb 2016 23:36:21 +0000 (15:36 -0800)
commit7008dafb02c858411d70b82c3aeb40f93b93c67a
tree5cbcf9b13847f593ef9267efa1cf96ab6829272f
parentdc262dfaaeda7617ae0b15b5ce1252a6cd102b19
Input: adp5589 - fix row 5 handling for adp5589

The adp5589 has row 5, don't skip it when creating the GPIO mapping.
Otherwise the pin gets reserved as used and it is not possible to use it as
a GPIO.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5589-keys.c