dt-bindings: hwmon: correct indentation and style in examples

Fix mixed indentation to 4-spaces, remove unnecessary suffix from
i2c node name and use lower-case hex.  No functional impact.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230118172237.349111-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Krzysztof Kozlowski 2023-01-18 18:22:37 +01:00 committed by Guenter Roeck
parent 22f0fd208d
commit 08be423352
13 changed files with 96 additions and 96 deletions

View File

@ -52,7 +52,7 @@ examples:
- | - |
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
i2c0 { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View File

@ -39,7 +39,7 @@ additionalProperties: false
examples: examples:
- | - |
i2c0 { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View File

@ -55,7 +55,7 @@ additionalProperties: false
examples: examples:
- | - |
i2c1 { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View File

@ -41,7 +41,7 @@ additionalProperties: false
examples: examples:
- | - |
i2c0 { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View File

@ -42,7 +42,7 @@ additionalProperties: false
examples: examples:
- | - |
i2c0 { i2c {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View File

@ -131,7 +131,7 @@ additionalProperties: false
examples: examples:
- | - |
thermistor0 { thermistor {
compatible = "murata,ncp18wb473"; compatible = "murata,ncp18wb473";
io-channels = <&gpadc 0x06>; io-channels = <&gpadc 0x06>;
pullup-uv = <1800000>; pullup-uv = <1800000>;

View File

@ -82,10 +82,10 @@ examples:
tmp513@5c { tmp513@5c {
compatible = "ti,tmp513"; compatible = "ti,tmp513";
reg = <0x5C>; reg = <0x5c>;
shunt-resistor-micro-ohms = <330000>; shunt-resistor-micro-ohms = <330000>;
ti,bus-range-microvolt = <32000000>; ti,bus-range-microvolt = <32000000>;
ti,pga-gain = <8>; ti,pga-gain = <8>;
ti,nfactor = <0x1 0xF3 0x00>; ti,nfactor = <0x1 0xf3 0x00>;
}; };
}; };