[PATCH v1 02/14] dt-bindings: gpio: fix gpio-hog example

From: Marcel Ziswiler
Date: Fri Jan 07 2022 - 13:04:15 EST


From: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>

Even if this is no yaml yet at least fix the example to be compliant to
later schema as e.g. found in gpio-pca95xx.yaml, fairchild,74hc595.yaml
and gpio/fsl-imx-gpio.yaml.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>
---

Documentation/devicetree/bindings/gpio/gpio.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index a8895d339bfe..5663e71b751f 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -213,7 +213,7 @@ Example of two SOC GPIO banks defined as gpio-controller nodes:
gpio-controller;
#gpio-cells = <2>;

- line_b {
+ line_b-hog {
gpio-hog;
gpios = <6 0>;
output-low;
--
2.33.1