ARM: dts: imx28-duckbill-2-enocean: Remove unnecessary #address/#size-cells
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 7 May 2018 01:03:40 +0000 (22:03 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 14 May 2018 14:08:04 +0000 (22:08 +0800)
Remove unnecessary #address-cells/#size-cells to fix the following
DTC warnings:

arch/arm/boot/dts/imx28-duckbill-2-enocean.dtb: Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" propert

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx28-duckbill-2-enocean.dts

index 7f8d40a9c67ebe151bb8c3f3c6a505ff2c4733c0..22215337f72a47af306d7b26fb6e021224c04084 100644 (file)
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
                pinctrl-names = "default";
                pinctrl-0 = <&enocean_button>;