Re: [PATCH 3/3] clocksource: dw_apb_timer_of: use clocksource_of_init

2013-06-04 Thread Heiko Stübner
Am Dienstag, 4. Juni 2013, 06:36:20 schrieb Baruch Siach: > Hi Heiko, > > On Mon, Jun 03, 2013 at 09:59:55PM +0200, Heiko Stübner wrote: > > dw_apb_timer_init used to search the devicetree for matching timer > > devices, making calls to it from board files necessary. > > > > Change the dw_apb_tim

Re: [PATCH 3/3] clocksource: dw_apb_timer_of: use clocksource_of_init

2013-06-03 Thread Baruch Siach
Hi Heiko, On Mon, Jun 03, 2013 at 09:59:55PM +0200, Heiko Stübner wrote: > dw_apb_timer_init used to search the devicetree for matching timer > devices, making calls to it from board files necessary. > > Change the dw_apb_timer_init to work with CLOCKSOURCE_OF_DECLARE. > With this change the func

[PATCH 3/3] clocksource: dw_apb_timer_of: use clocksource_of_init

2013-06-03 Thread Heiko Stübner
dw_apb_timer_init used to search the devicetree for matching timer devices, making calls to it from board files necessary. Change the dw_apb_timer_init to work with CLOCKSOURCE_OF_DECLARE. With this change the function gets called once for each timer node and tracks these number of calls to attach