[PATCH 1/4] clocksource: sp804: cleanup clk_get_sys()

2016-05-28 Thread Kefeng Wang
Move the clk_get_sys() part into sp804_get_clock_rate(), cleanup the same code. Signed-off-by: Kefeng Wang --- drivers/clocksource/timer-sp804.c | 34 +++--- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git

[PATCH 1/4] clocksource: sp804: cleanup clk_get_sys()

2016-05-28 Thread Kefeng Wang
Move the clk_get_sys() part into sp804_get_clock_rate(), cleanup the same code. Signed-off-by: Kefeng Wang --- drivers/clocksource/timer-sp804.c | 34 +++--- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/drivers/clocksource/timer-sp804.c