From patchwork Wed Nov 23 17:29:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9443945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C7F9460779 for ; Wed, 23 Nov 2016 17:30:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3AAC27CAF for ; Wed, 23 Nov 2016 17:30:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C85CE27CF9; Wed, 23 Nov 2016 17:30:50 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8802F27CF5 for ; Wed, 23 Nov 2016 17:30:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c9bNg-0006iE-4c; Wed, 23 Nov 2016 17:30:48 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c9bMz-0005OY-Ko; Wed, 23 Nov 2016 17:30:06 +0000 Received: by mail-lf0-x242.google.com with SMTP id 98so623175lfs.0; Wed, 23 Nov 2016 09:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jeBorbIILvE48H7fWDrs4nlEpCWp2RKIBN2zDSJnboU=; b=a8Dgfp5O8L9QZasS7IzzP547TUf5MS7ez2Uhvp7SayNVkTLJR8S77Rtcl64iEP6IW+ PxeM07JYKg3uM0erhNzaePFPQePsF83B6pc1lmbgi3EyRcjHasJniNXvO787ClfgIkVl 5TEENHjfWI23wANM1xmEpTUE51a+a8yq3oaVXnS7iiS7i3DfmtthnDO5DzRxkRCJZWlL SsWzpiUzwT5vKak6fhRsRFFVXdQUdUl8ou2FD945iDznNtlqG+bisfA95tG4ZikNvZ8o x/wMChm9RtYZ4oqafPLVA3ZdqxqaMd6TCEMRePPT7KDuT5iHB4fBs9PK4Md7IlcSgOmI bNxQ== 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=jeBorbIILvE48H7fWDrs4nlEpCWp2RKIBN2zDSJnboU=; b=kpuPyElEWyAK4aAbjNi0PuomSyHLe5mmhQzIptqbxm1ZQXJCu3tUUAi5jGQdZhg8AL kaae6lJay/Om91MKZyX9EFIVppcdI4rNBK610hKgyB6JwzznIXXt17vZ9oN5DjV8mBGE ing2566NAHzn71ZCAxfu+MKm4O1mwVTKvr11mEf0UJqAjchM27pQVJ9U0GU3KGKgTg2e EtBFvC11YQxCRVychWCsRY6nsm+dgq86VIM4aDr929ImZEtk3H8wKuVRWsbBAk9Syn/n 7f7asnm3eF6ASr9BsUYjpSioKXw94jaQxESUm2+6mZRYk6ybjwtOwn5DFr5qawiWixi0 XfNw== X-Gm-Message-State: AKaTC02XMBRUl5Rp1mQSoOLYN6wRp2En46FcRCsnuRgQhootZm0UAQuRSvpsBbxhRsQwlQ== X-Received: by 10.46.5.136 with SMTP id 130mr1728394ljf.36.1479922185055; Wed, 23 Nov 2016 09:29:45 -0800 (PST) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id h71sm7455138ljh.21.2016.11.23.09.29.44 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Nov 2016 09:29:44 -0800 (PST) From: Alexander Kochetkov To: daniel.lezcano@linaro.org, tglx@linutronix.de, heiko@sntech.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 3/9] clocksource/drivers/rockchip_timer: drop unused rk_base() and rk_ctrl() Date: Wed, 23 Nov 2016 20:29:31 +0300 Message-Id: <1479922177-20136-3-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1479922177-20136-1-git-send-email-al.kochet@gmail.com> References: <1479922177-20136-1-git-send-email-al.kochet@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161123_093005_973349_409AEFDE X-CRM114-Status: UNSURE ( 6.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Kochetkov MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Alexander Kochetkov --- drivers/clocksource/rockchip_timer.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/clocksource/rockchip_timer.c b/drivers/clocksource/rockchip_timer.c index f84f67c..2f18166 100644 --- a/drivers/clocksource/rockchip_timer.c +++ b/drivers/clocksource/rockchip_timer.c @@ -53,16 +53,6 @@ static inline struct rk_timer *rk_timer(struct clock_event_device *ce) return &rk_clock_event_device(ce)->timer; } -static inline void __iomem *rk_base(struct clock_event_device *ce) -{ - return rk_timer(ce)->base; -} - -static inline void __iomem *rk_ctrl(struct clock_event_device *ce) -{ - return rk_timer(ce)->ctrl; -} - static inline void rk_timer_disable(struct rk_timer *timer) { writel_relaxed(TIMER_DISABLE, timer->ctrl);