From patchwork Fri May 23 06:08:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 30676 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13A4320671 for ; Fri, 23 May 2014 06:11:19 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id 29sf17198752yhl.10 for ; Thu, 22 May 2014 23:11:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=rO9cFZNGj4LVC7ACB1czw7q/CE4e7t2pWMxbebcexNc=; b=hZ2EIR0FmNUoO6gq3ulTK7ghEI521K3VYrMhwiQZEFoEeqP87ALfCGXuR51Gug7S3r 7nRI08OrzQAJ1N8kkN8l5OyRJGX5JwrGk9/udYdKASUo6GVMdsEDycp0hnJYPfT3EzVf Qrgm6dHSfOK0+o5VwkV9LLhVaZiSMayh5K/w6AmksWJGZbgDlmxZkpaqmmsKLiDII09s uz3PXIz70ZhD8gvgdLCYi9mGN8N1Zvubd5hj315NJoM8J6g2QgfChOc+9DkimHboXwJv tFS/qrjMwD5CmFvt5pMDBfPQN6lTUkRKHDSaq1urHVZ9SWqlk3h+BEI5wARju67LjdTo T6WA== X-Gm-Message-State: ALoCoQnz+YsS0IwfWrv6X/NwPOjUBEwKnVBgR3Xu4n1nxPiIgEXkiXWy7mAodPW8Hp1o/4Ft5RX0 X-Received: by 10.236.123.68 with SMTP id u44mr1181391yhh.19.1400825478900; Thu, 22 May 2014 23:11:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.247 with SMTP id b110ls1512106qge.16.gmail; Thu, 22 May 2014 23:11:18 -0700 (PDT) X-Received: by 10.58.84.65 with SMTP id w1mr2409387vey.8.1400825478743; Thu, 22 May 2014 23:11:18 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id 5si1106813vdy.104.2014.05.22.23.11.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 23:11:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.169 as permitted sender) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id jx11so5699150veb.14 for ; Thu, 22 May 2014 23:11:18 -0700 (PDT) X-Received: by 10.221.40.193 with SMTP id tr1mr2310852vcb.31.1400825478660; Thu, 22 May 2014 23:11:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp5454vcb; Thu, 22 May 2014 23:11:18 -0700 (PDT) X-Received: by 10.68.163.197 with SMTP id yk5mr3010178pbb.57.1400825477958; Thu, 22 May 2014 23:11:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be6si2475848pac.1.2014.05.22.23.11.17; Thu, 22 May 2014 23:11:17 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752198AbaEWGLR (ORCPT + 9 others); Fri, 23 May 2014 02:11:17 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:46399 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752164AbaEWGLQ (ORCPT ); Fri, 23 May 2014 02:11:16 -0400 Received: by mail-pa0-f49.google.com with SMTP id lj1so3619513pab.36 for ; Thu, 22 May 2014 23:11:16 -0700 (PDT) X-Received: by 10.66.197.135 with SMTP id iu7mr2885887pac.149.1400825476217; Thu, 22 May 2014 23:11:16 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id wg7sm2697994pbc.73.2014.05.22.23.11.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 23:11:15 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 4/5] ARM: dts: Replace numbers with key code macros on Arndale board Date: Fri, 23 May 2014 11:38:57 +0530 Message-Id: <1400825338-1272-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400825338-1272-1-git-send-email-sachin.kamat@linaro.org> References: <1400825338-1272-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Key code macros improve readability. Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos5250-arndale.dts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index cde19c818667..d0de1f50d15b 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -12,6 +12,7 @@ /dts-v1/; #include "exynos5250.dtsi" #include +#include / { model = "Insignal Arndale evaluation board based on EXYNOS5250"; @@ -445,42 +446,42 @@ menu { label = "SW-TACT2"; gpios = <&gpx1 4 1>; - linux,code = <139>; + linux,code = ; gpio-key,wakeup; }; home { label = "SW-TACT3"; gpios = <&gpx1 5 1>; - linux,code = <102>; + linux,code = ; gpio-key,wakeup; }; up { label = "SW-TACT4"; gpios = <&gpx1 6 1>; - linux,code = <103>; + linux,code = ; gpio-key,wakeup; }; down { label = "SW-TACT5"; gpios = <&gpx1 7 1>; - linux,code = <108>; + linux,code = ; gpio-key,wakeup; }; back { label = "SW-TACT6"; gpios = <&gpx2 0 1>; - linux,code = <158>; + linux,code = ; gpio-key,wakeup; }; wakeup { label = "SW-TACT7"; gpios = <&gpx2 1 1>; - linux,code = <143>; + linux,code = ; gpio-key,wakeup; }; };