]> Pileus Git - ~andy/linux/commit
clocksource: sun4i: Factor out some timer code
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:18 +0000 (15:27 +0200)
commit96651a0732d148f7e4a59cec6aa174049866cd0e
treeb3cc9a6685a77a3370e9bc11ca74b030b41c42e0
parent63d88f1ac71173e47c40ea116e4489f71c6ed9c7
clocksource: sun4i: Factor out some timer code

The set_next_event and set_mode callbacks share a lot of common code we
can easily factor to avoid duplication and mistakes.

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