]> asedeno.scripts.mit.edu Git - linux.git/commit
clocksource: arm_arch_timer: move arch_timer_needs_of_probing into DT init call
authorFu Wei <fu.wei@linaro.org>
Tue, 21 Mar 2017 16:31:15 +0000 (00:31 +0800)
committerMark Rutland <mark.rutland@arm.com>
Wed, 19 Apr 2017 15:11:47 +0000 (16:11 +0100)
commitca0e1b5214eee56a7fc4c7a5399323ab0bad73ef
tree47d1f3ea607f8d12781848f9ef0e6f95db5c81c5
parent13bf6992fe5496d56101b5d57fbdae2ee91184f2
clocksource: arm_arch_timer: move arch_timer_needs_of_probing into DT init call

To cleanly split code paths specific to ACPI or DT at a higher level,
this patch removes arch_timer_init(), folding the relevant
parts of its logic into existing callers.

This pathes the way for further rework, and saves a few lines.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
[Mark: reword commit message]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
drivers/clocksource/arm_arch_timer.c