commit | 96651a0732d148f7e4a59cec6aa174049866cd0e | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Tue Jul 16 16:45:38 2013 +0200 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Thu Jul 18 15:27:18 2013 +0200 |
tree | b3cc9a6685a77a3370e9bc11ca74b030b41c42e0 | |
parent | 63d88f1ac71173e47c40ea116e4489f71c6ed9c7 [diff] |
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>