Skip to content

Commit 18ddd99

Browse files
krzkrobherring
authored andcommitted
dt-bindings: pps: 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. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 065cadf commit 18ddd99

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/devicetree/bindings/pps/pps-gpio.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ additionalProperties: false
3636

3737
examples:
3838
- |
39-
#include <dt-bindings/gpio/gpio.h>
40-
41-
pps {
42-
compatible = "pps-gpio";
43-
pinctrl-names = "default";
44-
pinctrl-0 = <&pinctrl_pps>;
45-
gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
46-
assert-falling-edge;
47-
echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
48-
echo-active-ms = <100>;
49-
};
39+
#include <dt-bindings/gpio/gpio.h>
40+
41+
pps {
42+
compatible = "pps-gpio";
43+
pinctrl-names = "default";
44+
pinctrl-0 = <&pinctrl_pps>;
45+
gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
46+
assert-falling-edge;
47+
echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
48+
echo-active-ms = <100>;
49+
};

0 commit comments

Comments
 (0)