Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: Correct indentation and style in DTS example

DTS example in the bindings should be indented with 2- or 4-spaces and
aligned with opening '- |', so correct any differences like 3-spaces or
mixtures 2- and 4-spaces in one binding.

No functional changes here, but saves some comments during reviews of
new patches built on existing code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Nuno Sa <nuno.sa@analog.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250107125848.226899-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Krzysztof Kozlowski and committed by
Jonathan Cameron
03025075 7ad920ce

+27 -27
+9 -9
Documentation/devicetree/bindings/iio/dac/adi,ad5380.yaml
··· 55 55 #address-cells = <1>; 56 56 #size-cells = <0>; 57 57 dac@0 { 58 - reg = <0>; 59 - compatible = "adi,ad5390-5"; 60 - vref-supply = <&dacvref>; 58 + reg = <0>; 59 + compatible = "adi,ad5390-5"; 60 + vref-supply = <&dacvref>; 61 61 }; 62 62 }; 63 63 - | 64 64 i2c { 65 - #address-cells = <1>; 66 - #size-cells = <0>; 67 - dac@42 { 68 - reg = <0x42>; 69 - compatible = "adi,ad5380-3"; 70 - }; 65 + #address-cells = <1>; 66 + #size-cells = <0>; 67 + dac@42 { 68 + reg = <0x42>; 69 + compatible = "adi,ad5380-3"; 70 + }; 71 71 }; 72 72 ...
+6 -6
Documentation/devicetree/bindings/iio/humidity/sciosense,ens210.yaml
··· 43 43 examples: 44 44 - | 45 45 i2c { 46 - #address-cells = <1>; 47 - #size-cells = <0>; 46 + #address-cells = <1>; 47 + #size-cells = <0>; 48 48 49 - temperature-sensor@43 { 50 - compatible = "sciosense,ens210"; 51 - reg = <0x43>; 52 - }; 49 + temperature-sensor@43 { 50 + compatible = "sciosense,ens210"; 51 + reg = <0x43>; 52 + }; 53 53 }; 54 54 ... 55 55
+9 -9
Documentation/devicetree/bindings/iio/temperature/maxim,max31865.yaml
··· 40 40 examples: 41 41 - | 42 42 spi { 43 - #address-cells = <1>; 44 - #size-cells = <0>; 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 45 46 - temperature-sensor@0 { 47 - compatible = "maxim,max31865"; 48 - reg = <0>; 49 - spi-max-frequency = <400000>; 50 - spi-cpha; 51 - maxim,3-wire; 52 - }; 46 + temperature-sensor@0 { 47 + compatible = "maxim,max31865"; 48 + reg = <0>; 49 + spi-max-frequency = <400000>; 50 + spi-cpha; 51 + maxim,3-wire; 52 + }; 53 53 }; 54 54 ...
+3 -3
Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
··· 44 44 #size-cells = <0>; 45 45 46 46 tmp117@48 { 47 - compatible = "ti,tmp117"; 48 - reg = <0x48>; 49 - vcc-supply = <&pmic_reg_3v3>; 47 + compatible = "ti,tmp117"; 48 + reg = <0x48>; 49 + vcc-supply = <&pmic_reg_3v3>; 50 50 }; 51 51 };