Input: gpio-keys - allow setting input device name in DT
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 13 Jan 2016 06:56:40 +0000 (22:56 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 13 Jan 2016 08:18:05 +0000 (00:18 -0800)
commitc4dc5f8c953f23d45329abc8b8e04f0c1e314a75
tree75884e1e5d4b786acbfe64cb91b6f3f9f426506e
parent85c017f2f1a6ae213b08c9d694202df8c912c614
Input: gpio-keys - allow setting input device name in DT

Allow specifying name if input device via device tree property. This helps
userspace code to get name and perform proper event to key mapping in some
cases (for example, on Android).

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/gpio-keys.txt
drivers/input/keyboard/gpio_keys.c