dt-bindings: input: Use consistent indentation in the example
Subsystems (6)
PATCH 1/1 dt-bindings: input: Use consistent indentation in the example
Correct indentation in the examples to consistent 2- or 4-spaces indentation to fix dt-check-style warnings ("example 0 [indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but re-indenting entire example just for that is too much churn.
--- .../bindings/input/adc-joystick.yaml | 20 +++++++++---------- .../devicetree/bindings/input/cypress-sf.yaml | 14 ++++++------- .../input/mediatek,mt6779-keypad.yaml | 10 +++++----- .../bindings/input/microchip,cap11xx.yaml | 14 ++++++------- .../input/touchscreen/eeti,exc3000.yaml | 16 +++++++-------- .../input/touchscreen/ti,tsc2007.yaml | 12 +++++------ 6 files changed, 43 insertions(+), 43 deletions(-)
Documentation/devicetree/bindings/input/adc-joystick.yaml +10 -10
@@ -111,17 +111,17 @@ examples: #size-cells = <0>; axis@0 { - reg = <0>; - linux,code = <ABS_X>; - abs-range = <3300 0>; - abs-fuzz = <4>; - abs-flat = <200>; + reg = <0>; + linux,code = <ABS_X>; + abs-range = <3300 0>; + abs-fuzz = <4>; + abs-flat = <200>; }; axis@1 { - reg = <1>; - linux,code = <ABS_Y>; - abs-range = <0 3300>; - abs-fuzz = <4>; - abs-flat = <200>; + reg = <1>; + linux,code = <ABS_Y>; + abs-range = <0 3300>; + abs-fuzz = <4>; + abs-flat = <200>; }; };
Documentation/devicetree/bindings/input/cypress-sf.yaml +7 -7
@@ -50,12 +50,12 @@ examples: #size-cells = <0>; touchkey@28 { - compatible = "cypress,sf3155"; - reg = <0x28>; - interrupt-parent = <&msmgpio>; - interrupts = <77 IRQ_TYPE_EDGE_FALLING>; - avdd-supply = <&vreg_l6a_1p8>; - vdd-supply = <&vdd_3v2_tp>; - linux,keycodes = <KEY_BACK KEY_MENU>; + compatible = "cypress,sf3155"; + reg = <0x28>; + interrupt-parent = <&msmgpio>; + interrupts = <77 IRQ_TYPE_EDGE_FALLING>; + avdd-supply = <&vreg_l6a_1p8>; + vdd-supply = <&vdd_3v2_tp>; + linux,keycodes = <KEY_BACK KEY_MENU>; }; };
Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml +5 -5
@@ -79,10 +79,10 @@ examples: #size-cells = <2>; keyboard@10010000 { - compatible = "mediatek,mt6779-keypad"; - reg = <0 0x10010000 0 0x1000>; - interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_FALLING>; - clocks = <&clk26m>; - clock-names = "kpd"; + compatible = "mediatek,mt6779-keypad"; + reg = <0 0x10010000 0 0x1000>; + interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_FALLING>; + clocks = <&clk26m>; + clock-names = "kpd"; }; };
Documentation/devicetree/bindings/input/microchip,cap11xx.yaml +7 -7
@@ -290,19 +290,19 @@ examples: #size-cells = <0>; led@0 { - label = "cap11xx:green:usr0"; - reg = <0>; + label = "cap11xx:green:usr0"; + reg = <0>; }; led@1 { - label = "cap11xx:green:usr1"; - reg = <1>; + label = "cap11xx:green:usr1"; + reg = <1>; }; led@2 { - label = "cap11xx:green:alive"; - reg = <2>; - linux,default-trigger = "heartbeat"; + label = "cap11xx:green:alive"; + reg = <2>; + linux,default-trigger = "heartbeat"; }; }; };
Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml +8 -8
@@ -82,13 +82,13 @@ examples: #address-cells = <1>; #size-cells = <0>; touchscreen@2a { - compatible = "eeti,exc3000"; - reg = <0x2a>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - touchscreen-size-x = <4096>; - touchscreen-size-y = <4096>; - touchscreen-inverted-x; - touchscreen-swapped-x-y; + compatible = "eeti,exc3000"; + reg = <0x2a>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + touchscreen-size-x = <4096>; + touchscreen-size-y = <4096>; + touchscreen-inverted-x; + touchscreen-swapped-x-y; }; };
Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml +6 -6
@@ -70,11 +70,11 @@ examples: #size-cells = <0>; touch@49 { - compatible = "ti,tsc2007"; - reg = <0x49>; - interrupt-parent = <&gpio4>; - interrupts = <0x0 0x8>; - gpios = <&gpio4 0 0>; - ti,x-plate-ohms = <180>; + compatible = "ti,tsc2007"; + reg = <0x49>; + interrupt-parent = <&gpio4>; + interrupts = <0x0 0x8>; + gpios = <&gpio4 0 0>; + ti,x-plate-ohms = <180>; }; };
Signature · 1 line
2.53.0
Hi Krzysztof,
Thank you for the patch.
Quoted 6 lines · Krzysztof Kozlowski
Correct indentation in the examples to consistent 2- or 4-spaces indentation to fix dt-check-style warnings ("example 0 [indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but re-indenting entire example just for that is too much churn.
Signed-off-by Krzysztof Kozlowski <[email protected]>
For mediatek,mt6779-keypad.yaml,
Quoted 6 lines · Krzysztof Kozlowski
Correct indentation in the examples to consistent 2- or 4-spaces indentation to fix dt-check-style warnings ("example 0 [indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but re-indenting entire example just for that is too much churn.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Quoted 9 lines
--- .../bindings/input/adc-joystick.yaml | 20 +++++++++---------- .../devicetree/bindings/input/cypress-sf.yaml | 14 ++++++------- .../input/mediatek,mt6779-keypad.yaml | 10 +++++----- .../bindings/input/microchip,cap11xx.yaml | 14 ++++++------- .../input/touchscreen/eeti,exc3000.yaml | 16 +++++++-------- .../input/touchscreen/ti,tsc2007.yaml | 12 +++++------ 6 files changed, 43 insertions(+), 43 deletions(-)
Quoted 6 lines · Krzysztof Kozlowski
Correct indentation in the examples to consistent 2- or 4-spaces indentation to fix dt-check-style warnings ("example 0 [indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but re-indenting entire example just for that is too much churn.
Signed-off-by Krzysztof Kozlowski <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry