]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gpio_keys_polled - allow specifying name of input device
authorEnrico Weigelt, metux IT consult <info@metux.net>
Sun, 7 Jul 2019 05:55:46 +0000 (22:55 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 7 Jul 2019 06:12:29 +0000 (23:12 -0700)
commit583a511f62eb9d83264593cced4c8c51157559f1
tree36f6b6f6b068c58732a5e99bd3ba8e18b39f20e6
parent53d63a5f7b62015f6aa6eca13e8308235670f66d
Input: gpio_keys_polled - allow specifying name of input device

Instead of hardcoding the input name to the driver name
('gpio-keys-polled'), allow specifying the name of the device via
"label" property. If the property is not present (nor name is set in
board-supplied platform data), we'll default to the old name.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/gpio_keys_polled.c