Input: soc_button_array - use gpio_is_valid()
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 25 Nov 2016 19:20:43 +0000 (11:20 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Nov 2016 19:39:49 +0000 (11:39 -0800)
commitbe8e7a7ec876d509bc61af64b41b314a142aa262
tree89c06c498434db67e991a04ecc7f0f4f538104a6
parent0e2b4458e9180e0b0d65cadfa729faf84f9f0115
Input: soc_button_array - use gpio_is_valid()

gpio_keys will later use gpio_is_valid(). To match the actual
behavior, we should use it here too.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/soc_button_array.c