gpio_msm: using for_each_set_bit to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 14 Sep 2012 02:28:31 +0000 (10:28 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 18 Sep 2012 21:16:54 +0000 (23:16 +0200)
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@trendmicro.com.cn>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found