Re: [PATCH v3 4/5] clocksource/drivers/timer-mediatek: Convert the driver to timer-of
From: Stanley Chu
Date: Thu Jun 28 2018 - 20:10:48 EST
On Thu, 2018-06-28 at 16:03 +0200, Daniel Lezcano wrote:
> >
> > -struct mtk_clock_event_device {
> > - void __iomem *gpt_base;
> > - u32 ticks_per_jiffy;
> > - struct clock_event_device dev;
> > +struct mtk_timer_private {
> > + unsigned long ticks_per_jiffy;
> > };
>
> This private structure is not needed. There is timer_of_clk->period
>
> cf.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/clocksource/timer-of.c#n144
>
>
Hi Daniel,
Thanks for remind:)
Will fix it in v4.
Thanks.
Stanley Chu