commit | c477990295a78f1248283322bd1ad964c22151bc | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Jun 13 23:48:13 2017 +0200 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Wed Jun 14 12:02:50 2017 +0200 |
tree | a1439c22df958cc7e842bab7107aa05519335299 | |
parent | 385c98fcc1fb58c3e10157be2203eb37595dac7b [diff] |
clocksource/drivers/fttmr010: Factor out clock read code The sched_clock() and delay timer callbacks can just call each other and we can save an #ifdef. Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Andrew Jeffery <andrew@aj.id.au> Cc: Joel Stanley <joel@jms.id.au> Cc: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>