ARM: use device tree to get smp_twd clock
authorRob Herring <rob.herring@calxeda.com>
Mon, 28 Jan 2013 16:13:12 +0000 (16:13 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
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 <rob.herring@calxeda.com>
Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/kernel/smp_twd.c