Skip to content

Commit 34b9610

Browse files
fabioestevamrobherring
authored andcommitted
dt-bindings: thermal: Remove soc unit address
Remove the soc unit address to fix the following warnings 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 Documentation/devicetree/bindings/thermal/thermal-zones.example.dts:23.20-50.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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] [robh: also fix thermal-zones.yaml example] Signed-off-by: Rob Herring <[email protected]>
1 parent 0b3f3ad commit 34b9610

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/devicetree/bindings/thermal/thermal-sensor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ examples:
4141
#include <dt-bindings/interrupt-controller/arm-gic.h>
4242
4343
// Example 1: SDM845 TSENS
44-
soc: soc@0 {
44+
soc: soc {
4545
#address-cells = <2>;
4646
#size-cells = <2>;
4747

Documentation/devicetree/bindings/thermal/thermal-zones.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ examples:
224224
#include <dt-bindings/thermal/thermal.h>
225225
226226
// Example 1: SDM845 TSENS
227-
soc: soc@0 {
227+
soc {
228228
#address-cells = <2>;
229229
#size-cells = <2>;
230230

0 commit comments

Comments
 (0)