clocksource/drivers/sun4i: Switch to the timer-of common init
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 6 Jun 2017 21:07:51 +0000 (23:07 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 26 Jun 2017 16:32:04 +0000 (18:32 +0200)
commit239751edad27d4fae964fb1f4ca1fedd742c8365
tree53ade1523c701cb8cd3233f6a12320e774cc6474
parent22ece4e3df6335e691207de1198a609e761b8640
clocksource/drivers/sun4i: Switch to the timer-of common init

Previously a framework to factor out the drivers init function has been
merged.

Use this common framework in this driver, we get:

Before:

text    data     bss     dec   hex filename
1787     384      12    2183   887 drivers/clocksource/sun4i_timer.o

After:

text    data     bss     dec   hex filename
1407     512       0    1919   77f drivers/clocksource/sun4i_timer.o

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Chen-Yu Tsai <wens@csie.org>
drivers/clocksource/Kconfig
drivers/clocksource/sun4i_timer.c