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: 4228301 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2CE24BF90B for ; Fri, 23 May 2014 06:11:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 38089201B4 for ; Fri, 23 May 2014 06:11:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 698A6200C6 for ; Fri, 23 May 2014 06:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752198AbaEWGLR (ORCPT ); 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9kNp52p1z/pdiTzHKhI/Y6/CqAusVFssOu4zcrTrRcs=; b=VN5osNhhj4zic/PJDe6NOu06sf5P5sEpBG2jOZzq9oNAiUMBEiOtN1A5lw9LeOhPqb kblM2nQqAK9bg3DO6UX7fojdf99aGHr6KqLfUe6y5+ukOLSqUOm29x9U2iqfZYTBDyXj Yue1N1p4sDGT5v6a78/RSfmW0a9Ypb2w80F/jPxhFdz3BsRtr5eU2Iuqj4UfG05xPgvp Lenfkj9PwnKN37wHgTGepnuKJT+8M2u4DD6xW3fqqMVThvfPpt6h2Ff4omG2jMTf8pBU Vcl3tMzzyQ1QU3HLotLHgxZRO6yVuzdKmX61bsZRcWY0fBcJU0eRu0S508QBnc73Xoq5 ch5Q== X-Gm-Message-State: ALoCoQmaKeqQLAPwSqzw342VRBfW6gjztjTgvmf2BvvrUqjuKa075Cnu/puXx3BOjONUnnjJ1okU 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: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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; }; };