ARM: dts: imx53-m53evk: Fix 'led_gpio@0' node with unit name and no reg property
authorMarco Franchi <marco.franchi@nxp.com>
Fri, 20 Oct 2017 15:48:25 +0000 (13:48 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Oct 2017 00:29:12 +0000 (08:29 +0800)
The following build warning is seen with W=1:

Warning (unit_address_vs_reg): Node /soc/aips@50000000/iomuxc@53fa8000/imx53-m53evk/led_gpio@0 has a unit name, but no reg property

Fix this warning by removing '@0' from such node.

Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-m53evk.dts

index 9794a04..fdbf525 100644 (file)
                        >;
                };
 
-               led_pin_gpio: led_gpio@0 {
+               led_pin_gpio: led_gpio {
                        fsl,pins = <
                                MX53_PAD_PATA_DATA8__GPIO2_8            0x80000000
                                MX53_PAD_PATA_DATA9__GPIO2_9            0x80000000