Skip to content

Commit

Permalink
ARM: vt8500: remove custom .init_time hook
Browse files Browse the repository at this point in the history
With arch/arm calling of_clk_init(NULL) from time_init(), we can now
remove custom .init_time hooks.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
  • Loading branch information
Sebastian Hesselbarth committed Sep 29, 2013
1 parent 56e89cf commit 64cc69a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions arch/arm/mach-vt8500/vt8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/io.h>
#include <linux/pm.h>
#include <linux/reboot.h>
Expand Down Expand Up @@ -74,12 +72,6 @@ static void vt8500_power_off(void)
asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0));
}

static void __init vt8500_init_time(void)
{
of_clk_init(NULL);
clocksource_of_init();
}

void __init vt8500_init(void)
{
struct device_node *np;
Expand Down Expand Up @@ -183,7 +175,6 @@ DT_MACHINE_START(WMT_DT, "VIA/Wondermedia SoC (Device Tree Support)")
.dt_compat = vt8500_dt_compat,
.map_io = vt8500_map_io,
.init_machine = vt8500_init,
.init_time = vt8500_init_time,
.restart = vt8500_restart,
MACHINE_END

0 comments on commit 64cc69a

Please sign in to comment.