clk: ti: generalize the init sequence of clk_hw_omap clocks
[linux-2.6-microblaze.git] / drivers / clk / ti / interface.c
index 87e00c2..83e3442 100644 (file)
@@ -57,12 +57,10 @@ static struct clk *_register_interface(struct device *dev, const char *name,
        init.num_parents = 1;
        init.parent_names = &parent_name;
 
-       clk = ti_clk_register(NULL, &clk_hw->hw, name);
+       clk = ti_clk_register_omap_hw(NULL, &clk_hw->hw, name);
 
        if (IS_ERR(clk))
                kfree(clk_hw);
-       else
-               omap2_init_clk_hw_omap_clocks(&clk_hw->hw);
 
        return clk;
 }