mirror of https://github.com/torvalds/linux.git
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:
parent
22f0fd208d
commit
08be423352
|
|
@ -52,7 +52,7 @@ examples:
|
|||
- |
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
i2c0 {
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ additionalProperties: false
|
|||
|
||||
examples:
|
||||
- |
|
||||
i2c0 {
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ additionalProperties: false
|
|||
|
||||
examples:
|
||||
- |
|
||||
i2c1 {
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ additionalProperties: false
|
|||
|
||||
examples:
|
||||
- |
|
||||
i2c0 {
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ additionalProperties: false
|
|||
|
||||
examples:
|
||||
- |
|
||||
i2c0 {
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ additionalProperties: false
|
|||
|
||||
examples:
|
||||
- |
|
||||
thermistor0 {
|
||||
thermistor {
|
||||
compatible = "murata,ncp18wb473";
|
||||
io-channels = <&gpadc 0x06>;
|
||||
pullup-uv = <1800000>;
|
||||
|
|
|
|||
|
|
@ -82,10 +82,10 @@ examples:
|
|||
|
||||
tmp513@5c {
|
||||
compatible = "ti,tmp513";
|
||||
reg = <0x5C>;
|
||||
reg = <0x5c>;
|
||||
shunt-resistor-micro-ohms = <330000>;
|
||||
ti,bus-range-microvolt = <32000000>;
|
||||
ti,pga-gain = <8>;
|
||||
ti,nfactor = <0x1 0xF3 0x00>;
|
||||
ti,nfactor = <0x1 0xf3 0x00>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue