Re: [PATCH] Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"

2016-10-20 Thread Thomas Gleixner
On Tue, 18 Oct 2016, Chen-Yu Tsai wrote: > Revert the commit for now. clocksource_mmio_init can be made to pass back > a pointer, but the code churn and usage of an inner struct might not be > worth it. You can avoid the churn by making clocksurce_mmio_init() a wrapper around a new function, which

[PATCH] Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"

2016-10-17 Thread Chen-Yu Tsai
This reverts commit 157dfadef832 ("clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"). struct clocksource is also used by the clk notifier callback, to unregister and re-register the clocksource with a different clock rate. clocksource_mmio_init does not pass back a pointer t