diff mbox series

[09/20] ARM: dts: sun4i: Remove SoC node unit-name to avoid warnings

Message ID c9f2be09d1e5d69e728e246567b289a278a1cb54.1507198895.git-series.maxime.ripard@free-electrons.com
State New
Headers show
Series sunxi: Cleanup DT warnings for the A10 and A80 | expand

Commit Message

Maxime Ripard Oct. 5, 2017, 10:49 a.m. UTC
Our main node for all the in-SoC controllers used to have a unit name. The
unit-name, in addition to being actually false, would not match any reg
property, which generates a warning.

Remove it in order to remove those warnings.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

---
 arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
git-series 0.9.1

Comments

Chen-Yu Tsai Oct. 5, 2017, 3:44 p.m. UTC | #1
On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> Our main node for all the in-SoC controllers used to have a unit name. The

> unit-name, in addition to being actually false, would not match any reg

> property, which generates a warning.

>

> Remove it in order to remove those warnings.

>

> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>


Acked-by: Chen-Yu Tsai <wens@csie.org>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index f64544f615ea..6ce4aafdfd92 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -180,7 +180,7 @@ 
 		};
 	};
 
-	soc@1c00000 {
+	soc {
 		compatible = "simple-bus";
 		#address-cells = <1>;
 		#size-cells = <1>;