PM / OPP: Use - instead of @ for DT entries
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 22 Jun 2017 03:45:11 +0000 (09:15 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jun 2017 23:28:52 +0000 (01:28 +0200)
commitb21569cf1de925e0a42c9964bd7f520cb4a4d875
treec2062ef3b9d917e3c43ebdc2c0c2c81a640be4a2
parent1fae788ed640e2a961c2edab54bfd56c73e2506a
PM / OPP: Use - instead of @ for DT entries

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>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/devicetree/bindings/opp/opp.txt