From patchwork Mon Nov 28 14:31:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9449643 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 3D57E600CB for ; Mon, 28 Nov 2016 14:35:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32D61205AB for ; Mon, 28 Nov 2016 14:35:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27374275A2; Mon, 28 Nov 2016 14:35:58 +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 B95B5205AB for ; Mon, 28 Nov 2016 14:35:57 +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 1cBN0j-0000Xv-KK; Mon, 28 Nov 2016 14:34:25 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBMyK-0007Zr-SS; Mon, 28 Nov 2016 14:32:01 +0000 Received: by mail-lf0-x244.google.com with SMTP id p100so9662874lfg.2; Mon, 28 Nov 2016 06:31:40 -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=Pt8ttVPueT0y0PJOnG7XoV8pC3b+g+OEzYOAXRDGCQc=; b=gn5zFCcK0Kc/8EZ4+N+rJaw5ablxeaA2YkBy8wB/lsop3GBY3JqrZUUFh1bJ634mKX ebzgYoQq4PvRJ1v1246sU4kx02nzSdNXZ449k+63Bm+2Ex5Cj0u2kwlIb39txsE4ErAs wSPEtTAbUJC4uqGbbOFCojm6h/3CxM72B7tMFfWXtqu1ntRCWUVFjM/ci9QuNWeMLsHG 4iW5HtusucrgaVfDBwojcn9K7YGpe/Vq45SfIQ+0hEZvtLOhsf2bcKN9yAFxOsiwP0lY otU1Nh/ew11PChV/7+/NJ44G/kFGrRKswb/VAr7CNyc1ewj/E7nz8/DVCWTRMYZ6jnes 8aeg== 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=Pt8ttVPueT0y0PJOnG7XoV8pC3b+g+OEzYOAXRDGCQc=; b=nKqnDftcmwa/cAH/Al0/KB/oWzirkzgPG8xWJAs5ORk6VDF8Gz5dFXK2isvn4F6ay4 BplcZlxnq8jTrdFzgH9lZBa1QGPpe8tmXbGN3qQPu+Oz8RaXQ2Z3QC6Tt8KrObj/VLwr Gdd7tcdop+tGT2xIRODwRubwgXmBH+j6YI3OMOKjbFJ0OR61O9IyoE3h19y7zviHguCi jHH1YqZVgrjSrfMOlsG8UK2wiJczcQx3sfqpAa4pcXKXJuScj3T4/72EbG3qtm5zPwEM P65QmmaoFTIpz3IZ2lp0DgTbtQju0lJlcllbzIKjPsRLkzdNCqAUZZkQaGO8Ty+umZq+ OLNw== X-Gm-Message-State: AKaTC00SarKIWhhwHkIprH+UWssDHE1cvytubWqq77XAVZHheQzuQF8I2r93PhCjKzd2VQ== X-Received: by 10.25.203.148 with SMTP id b142mr6473313lfg.145.1480343498868; Mon, 28 Nov 2016 06:31:38 -0800 (PST) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id h30sm12816162lji.28.2016.11.28.06.31.37 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Nov 2016 06:31:38 -0800 (PST) From: Alexander Kochetkov To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCHv2 07/11] clocksource/drivers/rockchip_timer: drop unused rk_base() and rk_ctrl() Date: Mon, 28 Nov 2016 17:31:22 +0300 Message-Id: <1480343486-25539-8-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161128_063157_417880_D43E9D78 X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Huang Tao , Heiko Stuebner , Alexander Kochetkov , Daniel Lezcano , Russell King , Rob Herring , Thomas Gleixner , Caesar Wang MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use of functions has been ceased by previous commit. 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 aa9ccd1..a17dc61 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);