[PATCH 4/7] spi/pl022: move device disable to workqueue thread
Linus Walleij
linus.walleij at linaro.org
Tue Nov 22 04:28:44 EST 2011
On Tue, Nov 22, 2011 at 9:28 AM, Viresh Kumar <viresh.kumar at st.com> wrote:
> On 11/22/2011 1:55 PM, Linus WALLEIJ wrote:
>> if (list_empty(&pl022->queue) || !pl022->running) {
>> + if (pl022->busy) {
>> + pm_runtime_put(&pl022->adev->dev);
>> + }
>
> We used to get warnings from checkpatch, for single line code inside {}.
> Don't we get them anymore?
It's driven by heuristics, I think it only warns on the first level since
elsewhere you may want braces for readability.
But I'll take it out when I add you Reviewed-by...
Linus
More information about the linux-arm-kernel
mailing list