On Thu, May 17, 2012 at 08:40:08PM +0530, Thomas Abraham wrote:
> +err_clk:
> +     if (!IS_ERR(host->ciu_clk))
> +             clk_disable_unprepare(host->ciu_clk);
> +     if (!IS_ERR(host->biu_clk))
> +             clk_disable_unprepare(host->biu_clk);
> +     clk_put(host->ciu_clk);
> +     clk_put(host->biu_clk);

+       if (!IS_ERR(host->ciu_clk)) {
+               clk_disable_unprepare(host->ciu_clk);
+               clk_put(host->ciu_clk);
+       }
+       if (!IS_ERR(host->biu_clk)) {
+               clk_disable_unprepare(host->biu_clk);
+               clk_put(host->biu_clk);
+       }

And the same in the other occurrence.
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to