[PATCH 1/13] drivers/staging/iio/adc/spear_adc.c: use clk_prepare_enable and clk_disable_unprepare

viresh kumar viresh.kumar at linaro.org
Mon Aug 27 04:01:03 UTC 2012


On Sun, Aug 26, 2012 at 9:30 PM, Julia Lawall <Julia.Lawall at lip6.fr> wrote:
> From: Julia Lawall <Julia.Lawall at lip6.fr>
>
> Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and
> clk_enable, and clk_disable and clk_unprepare.  They make the code more
> concise, and ensure that clk_unprepare is called when clk_enable fails.
>
> A simplified version of the semantic patch that introduces calls to these
> functions is as follows: (http://coccinelle.lip6.fr/)

Reviewed-by: Viresh Kumar <viresh.kumar at linaro.org>

@Stefan/Shiraz: Can you update spear-devel mailing list in MAINTAINERS file
for this driver?



More information about the devel mailing list