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)
commit593fdd4fb44ef2cbf4ec53ec2c6eb60eb079bb4c
tree36f6b6f6b068c58732a5e99bd3ba8e18b39f20e6
parent17b92927f8531d1ceb7e4f10b75fc4b066ac77fc
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