On Thursday 29 August 2013, Dinh Nguyen wrote:
> On Tue, 2013-08-27 at 23:28 +0200, Sebastian Hesselbarth wrote:

> > @@ -107,7 +106,6 @@ static void __init socfpga_cyclone5_init(void)
> >  {
> >     l2x0_of_init(0, ~0UL);
> >     of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
> > -   of_clk_init(NULL);
> >     socfpga_init_clocks();
> >  }
> >  
> 
> Acked-by: Dinh Nguyen <[email protected]>

I saw that your socfpga_init_clocks() function only has these contents:

void __init socfpga_init_clocks(void)
{
        struct clk *clk;
        int ret;

        clk = clk_register_fixed_factor(NULL, "smp_twd", "mpuclk", 0, 1, 4);
        ret = clk_register_clkdev(clk, NULL, "smp_twd");
        if (ret)
                pr_err("smp_twd alias not registered\n");
}


I think that can easily be expressed with DT syntax now (correct me if I'm 
wrong), so
you should be able to kill this off as well. Once somebody gets around to 
automate
the l2x0 setup, the entire socfpga_cyclone5_init() function can go away too.

        Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to