ARM: dts: omap3: overo: add missing unit name for lcd35 display
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 1 Aug 2016 16:46:56 +0000 (12:46 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 15 Aug 2016 16:42:36 +0000 (09:42 -0700)
Commit b8d368caa8dc ("ARM: dts: omap3: overo: remove unneded unit names
in display nodes") removed the unit names for all Overo display nodes
that didn't have a reg property.

But the display in arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi does
have a reg property so the correct fix was to make the unit name match
the value of the reg property, instead of removing it.

This patch fixes the following DTC warning for boards using this dtsi:

"ocp/spi@48098000/display has a reg or ranges property, but no unit name"

Fixes: b8d368caa8dc ("ARM: dts: omap3: overo: remove unneded unit names in display nodes")
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi

index ca86da68220ccef663d99d122cac82418f84e1bf..854117dc0b77190e7f873ce96827a1bdceeb0b0a 100644 (file)
        pinctrl-names = "default";
        pinctrl-0 = <&mcspi1_pins>;
 
-       lcd0: display {
+       lcd0: display@1 {
                compatible = "lgphilips,lb035q02";
                label = "lcd35";