Hi Beomho,

On 12/19/2014 05:39 PM, Beomho Seo wrote:
> This patch replace number by macro in gpio keys for exynos 3250 boards.
> 
> Cc: Youngjun Cho <[email protected]>
> Cc: Chanwoo Choi <[email protected]>
> Signed-off-by: Beomho Seo <[email protected]>

Reviewed-by: Chanwoo Choi <[email protected]>

Thanks,
Chanwoo CHoi

> ---
>  arch/arm/boot/dts/exynos3250-monk.dts   |    3 ++-
>  arch/arm/boot/dts/exynos3250-rinato.dts |    3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos3250-monk.dts 
> b/arch/arm/boot/dts/exynos3250-monk.dts
> index 2129ab98..792a2c7 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>;
> diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts 
> b/arch/arm/boot/dts/exynos3250-rinato.dts
> index c186ac6..3493bca 100644
> --- a/arch/arm/boot/dts/exynos3250-rinato.dts
> +++ b/arch/arm/boot/dts/exynos3250-rinato.dts
> @@ -15,6 +15,7 @@
>  /dts-v1/;
>  #include "exynos3250.dtsi"
>  #include <dt-bindings/input/input.h>
> +#include <dt-bindings/gpio/gpio.h>
>  
>  / {
>       model = "Samsung Rinato 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>;
> 

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to