From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Subject: Re: [PATCH v3 08/13] clocksource/drivers/rockchip_timer: drop unused rk_base() and rk_ctrl() Date: Tue, 29 Nov 2016 16:03:30 +0100 Message-ID: <4764744.Q8IDkmDPk7@diego> References: <1480343486-25539-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-1-git-send-email-al.kochet@gmail.com> <1480427118-5126-9-git-send-email-al.kochet@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1480427118-5126-9-git-send-email-al.kochet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alexander Kochetkov Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Thomas Gleixner , Mark Rutland , Rob Herring , Russell King , Caesar Wang , Huang Tao , Daniel Lezcano List-Id: devicetree@vger.kernel.org Am Dienstag, 29. November 2016, 16:45:13 schrieb Alexander Kochetkov: > Use of functions has been ceased by previous commit. Then why do you need another patch to remove them and don't do that in the patch removing their respective usage? > > 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); -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html