Re: [PATCH] pinctrl: rockchip: Simplify for loop iteration

From: Linus Walleij
Date: Wed Aug 21 2013 - 18:32:59 EST


On Wed, Aug 21, 2013 at 4:28 AM, Axel Lin <axel.lin@xxxxxxxxxx> wrote:

> Just return once a match found makes the code simpler and shorter.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Obviously correct, and elegant so patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/