From patchwork Sun Jun 21 10:00:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Zhong X-Patchwork-Id: 6652381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4FF1C05AD for ; Sun, 21 Jun 2015 10:04:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2256820695 for ; Sun, 21 Jun 2015 10:04:24 +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 3498020675 for ; Sun, 21 Jun 2015 10:04:23 +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 1Z6c4t-0000F9-QM; Sun, 21 Jun 2015 10:02:15 +0000 Received: from mail-qc0-f172.google.com ([209.85.216.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z6c4o-00007p-A4; Sun, 21 Jun 2015 10:02:10 +0000 Received: by qcji3 with SMTP id i3so2051810qcj.1; Sun, 21 Jun 2015 03:01:48 -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=SrYYTIUyn+pSJWTpUt4dO/WZFEPVSMUWQzgX+W9IgEA=; b=jvtmsdEScfjT0pFIGp1pesMLcpOadir/4XEUsdzeVVc57EoeI1FSG3Z3QZoozJbFue GN+Rp8r8WMz6zUUtwUJ86Uc+PNiBPFBRM9wpvsIB2SCjG8myRex9cw0iH7SJwkF+ku36 I5ME8iFvkfebJy3LlLH0hewvAXb4NTgaX0ClHOiJrhRvHFWYmLP27q95aq/uSvK+fv/R f5VPexGmK7MIDZhBhLTVBIeQDczAjr4lzU/4yqdJZGE/BOKtrkmg4c/zl4FHZcnk1Hyj VADG+cLYN0+tjm/wHtf7ZYjMxaow+f4IJRlNjjhirbEXFtkgzAT7oCUGciaqTofIzbRl z9dg== X-Received: by 10.55.15.129 with SMTP id 1mr53049212qkp.29.1434880908837; Sun, 21 Jun 2015 03:01:48 -0700 (PDT) Received: from localhost.localdomain ([199.244.117.124]) by mx.google.com with ESMTPSA id g92sm8648492qgf.20.2015.06.21.03.01.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 Jun 2015 03:01:47 -0700 (PDT) From: Chris Zhong To: heiko@sntech.de, dianders@chromium.org Subject: [PATCH v2 2/2] ARM: rockchip: remove some useless macro in pm.h Date: Sun, 21 Jun 2015 18:00:47 +0800 Message-Id: <1434880847-29505-3-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434880847-29505-1-git-send-email-zyw@rock-chips.com> References: <1434880847-29505-1-git-send-email-zyw@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150621_030210_463735_6877B11D X-CRM114-Status: UNSURE ( 7.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.5 (/) 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 --- 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)