Commit f4271a89 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bartosz Golaszewski
Browse files

dt-bindings: gpio: 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.  While re-indenting, drop
unused labels.

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

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarSander Vanheule <sander@svanheule.net>
Reviewed-by: default avatarManikandan Muralidharan <manikandan.m@microchip.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250324125326.82270-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 8257afa5
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ examples:
        #address-cells = <1>;
        #size-cells = <0>;

            gpio5: gpio5@0 {
        gpio5@0 {
            compatible = "fairchild,74hc595";
            reg = <0>;
            gpio-controller;
+13 −13
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ examples:
        #address-cells = <1>;
        #size-cells = <0>;

            pcf8575: gpio@20 {
        gpio@20 {
            compatible = "nxp,pcf8575";
            reg = <0x20>;
            interrupt-parent = <&irqpin2>;
+35 −35

File changed.

Contains only whitespace changes.

+12 −12

File changed.

Contains only whitespace changes.

+8 −8

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+10 −10

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+12 −12

File changed.

Contains only whitespace changes.

+24 −24

File changed.

Contains only whitespace changes.

Loading