Thread (26 messages) 26 messages, 7 authors, 2012-09-01

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

From: Jonathan Cameron <jic23@kernel.org>
Date: 2012-08-27 20:09:16
Also in: linux-iio, lkml

On 08/27/2012 09:06 PM, Jonathan Cameron wrote:
On 08/27/2012 05:01 AM, viresh kumar wrote:
quoted
On Sun, Aug 26, 2012 at 9:30 PM, Julia Lawall [off-list ref] wrote:
quoted
From: Julia Lawall <redacted>

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@linaro.org>
merged to fixes-togreg branch of kernel.org iio.git will push onwards in a few
days...
sorry, wrong branch as clearly just a cleanup not a fix. Will be in togreg
branch instead.
quoted
@Stefan/Shiraz: Can you update spear-devel mailing list in MAINTAINERS file
for this driver?
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help