]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: gpio_keys[_polled] - change name of wakeup property
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 16 Jul 2015 19:10:05 +0000 (12:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 23 Jul 2015 22:01:23 +0000 (15:01 -0700)
commit99b4ffbd84ea4191e0b8d1709230656a1c33b848
treed362d21704745ecb2f676b9a2a3e47f101c1fb47
parent274696521254855ba03f2d4f4575ae048a409256
Input: gpio_keys[_polled] - change name of wakeup property

Wakeup property of device is not Linux-specific, it describes intended
system behavior regardless of the OS being used. Therefore let's drop
"linux," prefix, and, while at it, use the same name as I2C bus does:
"wakeup-source".

We keep parsing old name to keep compatibility with old DTSes.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/gpio-keys-polled.txt
Documentation/devicetree/bindings/input/gpio-keys.txt
drivers/input/keyboard/gpio_keys.c
drivers/input/keyboard/gpio_keys_polled.c