ARM: use device tree to get smp_twd clock
authorRob Herring <[email protected]>
Mon, 28 Jan 2013 16:13:12 +0000 (16:13 +0000)
committerRafael J. Wysocki <[email protected]>
Fri, 1 Feb 2013 23:01:15 +0000 (00:01 +0100)
commitbd603455f366bd66a5e1870bc285c05c9cb6a72d
tree84edd043d0f87ed108dba5df4065ff463667b7b5
parentab45bd9bed36ad6c471b090bb8846ab7228fdf11
ARM: use device tree to get smp_twd clock

Move clk setup to twd_local_timer_common_register and rely on
twd_timer_rate being 0 to force calibration if there is no clock.
Remove common_setup_called as it is no longer needed.

Signed-off-by: Rob Herring <[email protected]>
Signed-off-by: Mark Langsdorf <[email protected]>
Acked-by: Russell King <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
arch/arm/kernel/smp_twd.c