From patchwork Tue Nov 29 13:45:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kochetkov X-Patchwork-Id: 9452121 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 1DFF760710 for ; Tue, 29 Nov 2016 13:49:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E31427F93 for ; Tue, 29 Nov 2016 13:49:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 014F92832B; Tue, 29 Nov 2016 13:49:49 +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 770BB27F93 for ; Tue, 29 Nov 2016 13:49:49 +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 1cBile-00018v-No; Tue, 29 Nov 2016 13:48:18 +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 1cBijG-0007dc-Vc; Tue, 29 Nov 2016 13:45:54 +0000 Received: by mail-lf0-x244.google.com with SMTP id p100so12711724lfg.2; Tue, 29 Nov 2016 05:45:34 -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=PnTo65X97iBco56mMx0fSPuWLz+wgxssU4IiGrLexVsA7Fs84GrYHxFP5dXEwsTeks Cn3WkQMpPilzgN51BoqYfwOxNbU5vfmfAv/yWLTqJv4RsTM8OK+gfRi5SItAjuglgreJ sRlC+f6B0pacpCg0nbHhIcuICf7hKwHHby0F77nVSDJTP3E7VLLzmQ6OY9+Iu3jud07K DMvew8rbRZV+HI2BBgNaHaMy5h0qYhyO6CTO8OPRzHBuTy5owkVehCdiHkIehXOu9cRp QxQeI1f4KlxU2o81x34RlzR6zYqv7pv6r8NVDviprKP0ebhcZ6xi9W2V3ZCORIECdh2Q SaLw== 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=O6wtBfFY7jvrDG65b1c3codF4N0YSJQ1yCYGCY3XUuciUPQzem1xAlRq8+Ljqm5KT+ M170gLFcvOU0dc3ifOwckWGn9APTcxiciV6OUzTOo9WjoZrcdQC92N0fs9yIV9Sbp+PN eM/LOEUK4EqJQ18crV+/0QkZA+KCv445Ryr5gpfXn5a5st5/DHssmXHRofo3UWBefcoK 4Bl9R5Xt+huTWRRqFvxzntd1G+u7tmFvNeginQ9gw1GCWLP+nYfziFQKkmlaPXIqhiVI 2/xMNL1s68Irf+xbA7e2s7rvGsTa070sVbnxg5EiZqJ30KaiMWc7FDbEmiHMUbB41DIc PT2w== X-Gm-Message-State: AKaTC015XvY/3zVfU9Gyqi1uW3dGy8/XPRB4YvV+Aa0Mj//bww3yiJa85TGtNUrg7c5eVA== X-Received: by 10.25.200.197 with SMTP id y188mr10603810lff.132.1480427132868; Tue, 29 Nov 2016 05:45:32 -0800 (PST) Received: from ubuntu.lintech.local ([185.35.119.87]) by smtp.gmail.com with ESMTPSA id y3sm250543lfj.42.2016.11.29.05.45.31 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Nov 2016 05:45:32 -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: [PATCH v3 08/13] clocksource/drivers/rockchip_timer: drop unused rk_base() and rk_ctrl() Date: Tue, 29 Nov 2016 16:45:13 +0300 Message-Id: <1480427118-5126-9-git-send-email-al.kochet@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1480427118-5126-1-git-send-email-al.kochet@gmail.com> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-1-git-send-email-al.kochet@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161129_054551_630495_67B31EE4 X-CRM114-Status: UNSURE ( 9.03 ) 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);