arm64: dts: zte: Use - instead of @ for DT OPP entries
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 Apr 2017 10:55:11 +0000 (16:25 +0530)
committerShawn Guo <shawnguo@kernel.org>
Wed, 21 Jun 2017 11:05:38 +0000 (19:05 +0800)
Compiling the DT file with W=1, DTC warns like follows:

Warning (unit_address_vs_reg): Node /opp_table0/opp@1000000000 has a
unit name, but no reg property

Fix this by replacing '@' with '-' as the OPP nodes will never have a
"reg" property.

Reported-by: Krzysztof Kozlowski <krzk@kernel.org>
Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/zte/zx296718.dtsi

index 316dc713268c68f8dcd93afd8c0b8bde27e30ac5..d83bf789c8641b73f9c973e7aa0e1bdb41a62017 100644 (file)
                compatible = "operating-points-v2";
                opp-shared;
 
-               opp@500000000 {
+               opp-500000000 {
                        opp-hz = /bits/ 64 <500000000>;
                        clock-latency-ns = <500000>;
                };
 
-               opp@648000000 {
+               opp-648000000 {
                        opp-hz = /bits/ 64 <648000000>;
                        clock-latency-ns = <500000>;
                };
 
-               opp@800000000 {
+               opp-800000000 {
                        opp-hz = /bits/ 64 <800000000>;
                        clock-latency-ns = <500000>;
                };
 
-               opp@1000000000 {
+               opp-1000000000 {
                        opp-hz = /bits/ 64 <1000000000>;
                        clock-latency-ns = <500000>;
                };
 
-               opp@1188000000 {
+               opp-1188000000 {
                        opp-hz = /bits/ 64 <1188000000>;
                        clock-latency-ns = <500000>;
                };