diff mbox

gpio: minor correction in docs

Message ID CAERD_i1J_y5vmqKnXh_tcArYyoNf1vBQdR_R9LM_hNO+NoDzGw@mail.gmail.com
State New
Headers show

Commit Message

Per Hallsmark Jan. 22, 2016, 12:21 p.m. UTC
Since the doc example talk about two ranges of 10 gpio pins, I guess
the gpio-ranges count should be 10 in both definitions?

/Per

Comments

Alexandre Courbot Jan. 27, 2016, 12:31 a.m. UTC | #1
On Fri, Jan 22, 2016 at 9:21 PM, Per Hallsmark <wr.phallsma@gmail.com> wrote:
> Since the doc example talk about two ranges of 10 gpio pins, I guess
> the gpio-ranges count should be 10 in both definitions?

Your patches should be submitted inline and not attached. Please see
Documentation/SubmittingPatches, Documentation/email-clients.txt and
'git help send-email' for how to submit patches properly.
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

From 49759e85c30dae5884efd979f03be475e76ed7d6 Mon Sep 17 00:00:00 2001
From: Per Hallsmark <per.hallsmark@windriver.com>
Date: Fri, 22 Jan 2016 10:51:14 +0100
Subject: [PATCH] gpio: minor correction in docs

Signed-off-by: Per Hallsmark <per.hallsmark@windriver.com>
---
 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 069cdf6..ad3d64b 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -252,7 +252,7 @@  Example 1:
 		compatible = "fsl,qe-pario-bank-e", "fsl,qe-pario-bank";
 		reg = <0x1460 0x18>;
 		gpio-controller;
-		gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 20>;
+		gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 10>;
 	};
 
 Here, a single GPIO controller has GPIOs 0..9 routed to pin controller
-- 
2.5.0