diff mbox series

dt-bindings: thermal: Remove soc unit address

Message ID 20200630121804.27887-1-festevam@gmail.com
State Accepted
Headers show
Series dt-bindings: thermal: Remove soc unit address | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Fabio Estevam June 30, 2020, 12:18 p.m. UTC
Remove the soc unit address to fix the following warning seen with
'make dt_binding_check':

Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring June 30, 2020, 2:41 p.m. UTC | #1
On Tue, 30 Jun 2020 09:18:04 -0300, Fabio Estevam wrote:
> Remove the soc unit address to fix the following warning seen with
> 'make dt_binding_check':
> 
> Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
Rob Herring June 30, 2020, 3:02 p.m. UTC | #2
On Tue, Jun 30, 2020 at 8:41 AM Rob Herring <robh@kernel.org> wrote:
>
> On Tue, 30 Jun 2020 09:18:04 -0300, Fabio Estevam wrote:
> > Remove the soc unit address to fix the following warning seen with
> > 'make dt_binding_check':
> >
> > Documentation/devicetree/bindings/thermal/thermal-sensor.example.dts:22.20-49.11: Warning (unit_address_vs_reg): /example-0/soc@0: node has a unit name, but no reg or ranges property
> >
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > ---
> >  Documentation/devicetree/bindings/thermal/thermal-sensor.yaml | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Applied, thanks!

thermal-zones.yaml had the same warning, so I added a fix for it to this.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
index fcd25a0af38c..727d04550324 100644
--- a/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
+++ b/Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
@@ -41,7 +41,7 @@  examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     // Example 1: SDM845 TSENS
-    soc: soc@0 {
+    soc: soc {
             #address-cells = <2>;
             #size-cells = <2>;