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

Warning (unit_address_vs_reg): Node /backlight@bl1 has a unit name, but no reg property

Fix this warning by removing '@bl1'from such node and change 'bl1grp' to
'backlightgrp', once there is only one backlight in this dts.

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

index 2f1a9d203384bbdaf9d6375aab414df6f7e7162f..3e1846a64d937f13e5a161cb80be3f43cab31052 100644 (file)
@@ -16,7 +16,7 @@
        model = "Armadeus Systems APF51Dev docking/development board";
        compatible = "armadeus,imx51-apf51dev", "armadeus,imx51-apf51", "fsl,imx51";
 
-       backlight@bl1{
+       backlight {
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_backlight>;
                compatible = "gpio-backlight";
        pinctrl-0 = <&pinctrl_hog>;
 
        imx51-apf51dev {
-               pinctrl_backlight: bl1grp {
+               pinctrl_backlight: backlightgrp {
                        fsl,pins = <
                                MX51_PAD_DI1_D1_CS__GPIO3_4 0x1F5
                        >;