ARM: davinci: da8xx: remove da8xx_uart_clk_enable
authorManjunathappa, Prakash <prakash.pm@ti.com>
Wed, 19 Jun 2013 09:15:41 +0000 (14:45 +0530)
committerSekhar Nori <nsekhar@ti.com>
Wed, 21 Aug 2013 19:08:58 +0000 (00:38 +0530)
Serial clocks are enabled from of_platform_serial_setup:of_serial.c,
so remove davinci_serial_setup_clk from here.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da8xx-dt.c

index e4299455c6443932217743a038b6e9cde8ee8242..9683cbd1f6c8f3153ee51f978146c09c49f8fde3 100644 (file)
 
 #define DA8XX_NUM_UARTS        3
 
-static void __init da8xx_uart_clk_enable(void)
-{
-       int i;
-       for (i = 0; i < DA8XX_NUM_UARTS; i++)
-               davinci_serial_setup_clk(i, NULL);
-}
-
 static struct of_device_id da8xx_irq_match[] __initdata = {
        { .compatible = "ti,cp-intc", .data = cp_intc_of_init, },
        { }
@@ -60,7 +53,6 @@ static void __init da850_init_machine(void)
        of_platform_populate(NULL, of_default_bus_match_table,
                             da850_auxdata_lookup, NULL);
 
-       da8xx_uart_clk_enable();
 }
 
 static const char *da850_boards_compat[] __initdata = {