OSDN Git Service

ARM: dts: lpc32xx: ea3250: beautify gpio keys children nodes
authorVladimir Zapolskiy <vz@mleia.com>
Tue, 29 Jan 2019 19:20:47 +0000 (21:20 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Sun, 3 Feb 2019 19:37:43 +0000 (21:37 +0200)
commit0293adf76ae96cea6e1690e79d9912c690bccde3
tree157da70e6ac8379dca5c566a0ace21b729b01144
parentec54b138b170649ac33dfaaf7ade69727aef6ad1
ARM: dts: lpc32xx: ea3250: beautify gpio keys children nodes

Regarding the 'gpio_keys' device node a dtc reports a couple of
warnings:

  Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary
  #address-cells/#size-cells without "ranges" or child "reg" property

  Warning (unit_address_vs_reg): /gpio_keys/button@21: node has
  a unit name, but no reg property

The change fixes these issues and adds empty lines between adjacent
children device nodes. The device node itself is renamed by substituting
an underscore by hyphen to follow the standard naming convention
of device tree nodes.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/lpc3250-ea3250.dts