Input: gpio-keys-polled - don't use unit-address with button nodes
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 3 Sep 2016 17:39:07 +0000 (10:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 Sep 2016 17:31:45 +0000 (10:31 -0700)
commitde56bea05b09aa1f3498ee12df8f995aaf259dd7
tree35bb1813c66907a31f0fa4d8eb7c79705b45308c
parent694641616448a9c5b30b3a5e5f51da73cb3a0016
Input: gpio-keys-polled - don't use unit-address with button nodes

The change corrects an example in device tree documentation section,
because button/key device nodes don't contain reg property there is
no need to declare unit-address, and address and size cell properties
are also redundant.

At the moment a compilation of the hypothetical original example
should produce W=1 level warnings, and it is better to stop spreading
misusage of the polled gpio keys device tree binding through this
example.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/gpio-keys-polled.txt