[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1530231027.17448.46.camel@mtkswgap22>
Date: Fri, 29 Jun 2018 08:10:27 +0800
From: Stanley Chu <stanley.chu@...iatek.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
CC: Matthias Brugger <matthias.bgg@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Rob Herring <robh+dt@...nel.org>,
<linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<wsd_upstream@...iatek.com>
Subject: Re: [PATCH v3 4/5] clocksource/drivers/timer-mediatek: Convert the
driver to timer-of
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
Powered by blists - more mailing lists