[PATCH] gpio: pxa: using for_each_set_bit to simplify the code

Linus Walleij linus.walleij at linaro.org
Wed Sep 19 07:19:36 EST 2012


On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun <weiyj.lk at gmail.com> wrote:

> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> Using for_each_set_bit() to simplify the code.
>
> spatch with a semantic match is used to found this.
> (http://coccinelle.lip6.fr/)
>
> Signed-off-by: Wei Yongjun <yongjun_wei at trendmicro.com.cn>

Applied with Eric's and Haojian's ACKs.
Thanks!
Linus Walleij


More information about the devicetree-discuss mailing list