OMAP4 clock: Support clk_set_parent
authorRajendra Nayak <rnayak@ti.com>
Wed, 19 May 2010 02:23:59 +0000 (20:23 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:12 +0000 (12:31 -0600)
Remove the hack put in place while clock framework was still not in
place for OMAP4.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/clock.c

index c9cd98a..7190cbd 100644 (file)
@@ -138,11 +138,6 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
        unsigned long flags;
        int ret = -EINVAL;
 
-       if (cpu_is_omap44xx()) {
-               WARN(1, "clock: %s: not supported yet on OMAP4\n", __func__);
-               return 0;
-       }
-
        if (clk == NULL || IS_ERR(clk) || parent == NULL || IS_ERR(parent))
                return ret;