ARM: dts: imx28-duckbill: use symbolic names from gpio.h
authorMichael Heimpold <mhei@heimpold.de>
Thu, 27 Mar 2014 22:51:30 +0000 (23:51 +0100)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:48 +0000 (23:01 +0800)
Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx28-duckbill.dts

index 91c1a9a59c5228135f08c9c9494877ad214c0530..ce1a7effba3770ce8708cfb44ecae6e781d6a79f 100644 (file)
 
                status {
                        label = "duckbill:green:status";
-                       gpios = <&gpio3 5 0>;
+                       gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
                };
 
                failure {
                        label = "duckbill:red:status";
-                       gpios = <&gpio3 4 0>;
+                       gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
                };
        };
 };