From patchwork Tue Jun 23 12:53:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 6660841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D0DC29F39B for ; Tue, 23 Jun 2015 12:56:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 091D1206BA for ; Tue, 23 Jun 2015 12:56:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3712E20460 for ; Tue, 23 Jun 2015 12:56:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z7Niv-0008TP-Ai; Tue, 23 Jun 2015 12:54:45 +0000 Received: from mail-pa0-f54.google.com ([209.85.220.54]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z7NiV-0008Jw-CJ; Tue, 23 Jun 2015 12:54:20 +0000 Received: by pabvl15 with SMTP id vl15so6621768pab.1; Tue, 23 Jun 2015 05:53:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=X6ONm9lRKQEoQQMrMmAy8zuXO1N/a4ukzk/ztoYu11s=; b=kSCoCkQxrd2P3O9LZeS9PKJ9YqxhR0nblBkEsudwbk1ZegLl96WJ7AfW7YmWXfNBXd kORyJVe7aeVE4rGVu3NZYZdgFSgtx0KwPjTizzsiuIrq/Oh8IufM1uLOdieu6GiYd3qm Z1du6Y5pHE4MhYKCpYyXsDaQh+6+6Xjehnjtp0Pr+KwZ1UkJ/wXnnotwwpB+94U7blQl NXbUbnhrxCW1cHlGQ6eH8nXdd2jFjFlG8n9eJDA/OWQlE7ncsDBIJzktUyFDlTZNxool dn+3/2oMNpXRXV9kbk7JjI30XO/9XtGz5SH79Dz/Th8OtLPrcyWVRu33b6iUYHPeya0g ZGyg== X-Received: by 10.70.54.196 with SMTP id l4mr68301698pdp.2.1435064038079; Tue, 23 Jun 2015 05:53:58 -0700 (PDT) Received: from localhost.localdomain (118-166-197-46.dynamic.hinet.net. [118.166.197.46]) by mx.google.com with ESMTPSA id ia3sm23188992pbc.31.2015.06.23.05.53.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jun 2015 05:53:56 -0700 (PDT) From: Chris Zhong To: heiko@sntech.de, dianders@chromium.org Subject: [PATCH v3 2/2] ARM: rockchip: remove some useless macro in pm.h Date: Tue, 23 Jun 2015 20:53:40 +0800 Message-Id: <1435064020-7057-3-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435064020-7057-1-git-send-email-zyw@rock-chips.com> References: <1435064020-7057-1-git-send-email-zyw@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150623_055419_475248_D26B78B5 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.2 (--) Cc: amstan@google.com, Russell King , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Chris Zhong , sonnyrao@chromium.org, dtor@google.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 These are actually not used in the pm code, as we moved suspend handling to the clock driver, remove them here. Signed-off-by: Chris Zhong Reviewed-by: Douglas Anderson --- Changes in v3: None arch/arm/mach-rockchip/pm.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/mach-rockchip/pm.h b/arch/arm/mach-rockchip/pm.h index 3e8d39c..b6494c2 100644 --- a/arch/arm/mach-rockchip/pm.h +++ b/arch/arm/mach-rockchip/pm.h @@ -59,13 +59,6 @@ static inline void rockchip_suspend_init(void) #define SGRF_DAPDEVICEEN BIT(0) #define SGRF_DAPDEVICEEN_WRITE BIT(16) -#define RK3288_CRU_MODE_CON 0x50 -#define RK3288_CRU_SEL0_CON 0x60 -#define RK3288_CRU_SEL1_CON 0x64 -#define RK3288_CRU_SEL10_CON 0x88 -#define RK3288_CRU_SEL33_CON 0xe4 -#define RK3288_CRU_SEL37_CON 0xf4 - /* PMU_WAKEUP_CFG1 bits */ #define PMU_ARMINT_WAKEUP_EN BIT(0)