From patchwork Tue Jul 31 07:11:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10550229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 478F31708 for ; Tue, 31 Jul 2018 07:13:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 332782A6BA for ; Tue, 31 Jul 2018 07:13:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 314DE22362; Tue, 31 Jul 2018 07:13:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDDF32A6C2 for ; Tue, 31 Jul 2018 07:13:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731042AbeGaIwQ (ORCPT ); Tue, 31 Jul 2018 04:52:16 -0400 Received: from mo4-p04-ob.smtp.rzone.de ([81.169.146.177]:16079 "EHLO mo4-p04-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731895AbeGaIum (ORCPT ); Tue, 31 Jul 2018 04:50:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1533021109; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=zkyhEAqr/sYWROFmxzeiQN0lUOSoJieqoh1lyPwwflg=; b=J1jWHHzK/Sj3HILqNXAZSyKbGgnR06HJWgiPUhvF2zCaw8kehN+JQTQmi3dDEo5rEy GoX7sMMdObH/Y2chN1ax3dir049YZZ1cGmoxSej0UYhuJCrl5NFOOr2FpGlO3yP7IxoP DETresf4eEa23Hqpfu/Xg4ovXiqIsnK25jpX/hDsgV56PZ2W2Xy3j6VzdAR3hMeCoP74 mUGFd98IRJyDJGJg4/f7PGBhF1dw90/8NbnoDHozT0eJ/2Y/X0iKxv8VnaoT1fMK9uJ2 FOodUA3vwS/I13eF7TnqtRhwws1QwTC35iUjEgKCkAHfuK2eXAnC7zKySVrCGauTxS5t 6ADA== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o1pxICp41QvXLM9PJBRQ" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6V7BgwOg (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 31 Jul 2018 09:11:42 +0200 (CEST) From: "H. Nikolaus Schaller" To: ladis@linux-mips.org, Sebastian Reichel , Tomi Valkeinen , Marek Belisko , =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, "H. Nikolaus Schaller" Subject: [PATCH v2 15/32] ARM: dts: omap3-gta04: make use of input event include file and constants Date: Tue, 31 Jul 2018 09:11:18 +0200 Message-Id: <76a8aaa94434b0aa1becc82be8211e4e9849b73d.1533021093.git.hns@goldelico.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP we can replace magic numbers by symbolic constants now. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index bb4c9ad62edb..98f31f1814d0 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -10,6 +10,7 @@ /dts-v1/; #include "omap36xx.dtsi" +#include / { model = "OMAP3 GTA04"; @@ -43,7 +44,7 @@ aux-button { label = "aux"; - linux,code = <169>; + linux,code = ; gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; wakeup-source; };