OSDN Git Service

clocksource: sun4i: Cleanup parent clock setup
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 16 Jul 2013 14:45:38 +0000 (16:45 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 18 Jul 2013 13:27:20 +0000 (15:27 +0200)
commita2c49e7b553a28f10ab34e5da538ed4a45a697a7
treec7df1aea139b0f271641eb02886741d15e1e9cbc
parentc2b852f77b0d4c71967b61848d666c7a25e17627
clocksource: sun4i: Cleanup parent clock setup

The current bring-up code for the timer was overly complicated. The only
thing we need is actually which clock we want to use as source and
that's pretty much all. Let's keep it that way.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sun4i_timer.c