diff mbox series

gpio: dwapb: Correct the DT node name in the example

Message ID 20181120111709.22128-1-phil.edworthy@renesas.com
State New
Headers show
Series gpio: dwapb: Correct the DT node name in the example | expand

Commit Message

Phil Edworthy Nov. 20, 2018, 11:17 a.m. UTC
The sub-nodes should not be called gpio-controller, but simply gpio.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
 Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Linus Walleij Nov. 26, 2018, 8:42 a.m. UTC | #1
On Tue, Nov 20, 2018 at 12:17 PM Phil Edworthy
<phil.edworthy@renesas.com> wrote:

> The sub-nodes should not be called gpio-controller, but simply gpio.
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>

Patch applied.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
index 7276b50c3506..839dd32ffe11 100644
--- a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
@@ -43,7 +43,7 @@  gpio: gpio@20000 {
 	#address-cells = <1>;
 	#size-cells = <0>;
 
-	porta: gpio-controller@0 {
+	porta: gpio@0 {
 		compatible = "snps,dw-apb-gpio-port";
 		gpio-controller;
 		#gpio-cells = <2>;
@@ -55,7 +55,7 @@  gpio: gpio@20000 {
 		interrupts = <0>;
 	};
 
-	portb: gpio-controller@1 {
+	portb: gpio@1 {
 		compatible = "snps,dw-apb-gpio-port";
 		gpio-controller;
 		#gpio-cells = <2>;