Input: gpio-keys - clean up device tree binding example
authorAndreas Färber <afaerber@suse.de>
Thu, 31 Mar 2016 20:08:06 +0000 (13:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 31 Mar 2016 20:13:43 +0000 (13:13 -0700)
commit7d8d86252307ce34925c5ddec4ef1b32670353b9
tree4c89d917309ba8f0a21dc11f73856747816189fe
parent8f7292ed88c0a87e4173c5a97fae444ed8b2f05b
Input: gpio-keys - clean up device tree binding example

Drop #address-cells and #size-cells, which are not required by the
gpio-keys binding documentation, as button sub-nodes are not devices.

Rename sub-nodes to avoid new dtc unit address warnings when copied.

While at it, adopt the dashes convention for the node name.

Reported-by: Julien Chauveau <chauveau.julien@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Julien Chauveau <chauveau.julien@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/gpio-keys.txt