diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2015-01-12 10:00:15 +0100 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-01-12 10:03:30 +0100 |
commit | 13b9b64e307db08fce12350ce2caed63dec59ddc (patch) | |
tree | 2dc91ad18e1234db8f3c418a324c1863c84e4009 /arch/arm/boot/dts/exynos3250-monk.dts | |
parent | ARM: dts: remove unnecessary gpio-key nodes for exynos3250 boards (diff) | |
download | linux-13b9b64e307db08fce12350ce2caed63dec59ddc.tar.xz linux-13b9b64e307db08fce12350ce2caed63dec59ddc.zip |
ARM: dts: use macro in gpio keys for exynos3250 boards
This patch replaces number by macro in gpio keys for exynos3250 boards.
Cc: Youngjun Cho <yj44.cho@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos3250-monk.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos3250-monk.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index 2431b811df87..5e4a471faee1 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -15,6 +15,7 @@ /dts-v1/; #include "exynos3250.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/gpio/gpio.h> / { model = "Samsung Monk board"; @@ -37,7 +38,7 @@ compatible = "gpio-keys"; power_key { - gpios = <&gpx2 7 1>; + gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; linux,code = <KEY_POWER>; label = "power key"; debounce-interval = <10>; |