]> 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)
commit72ee22d23d8e5d07a3dbb9053ebe0090a49cfe22
tree36f6b6f6b068c58732a5e99bd3ba8e18b39f20e6
parent40d89295012c375a9cd36bde3d47dfb1a0ceb931
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