OSDN Git Service

ARM: dts: imx28-cfa10049: Remove unnecessary #address/#size-cells
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 7 May 2018 01:03:39 +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-cfa10049.dtb: Warning (avoid_unnecessary_addr_size): /gpio_keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx28-cfa10049.dts

index 60e5c7f..f1c8315 100644 (file)
                compatible = "gpio-keys";
                pinctrl-names = "default";
                pinctrl-0 = <&rotary_btn_pins_cfa10049>;
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                rotary_button {
                        label = "rotary_button";