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)
commit939d902d0de58982fc95b04c5cd37c5e30ffe46f
tree946d029827b380f1bcbaaed78121102a0b677864
parent3113e679021a3a6bace1c62a8432cc0ec27c09ab
gpio_msm: using for_each_set_bit to simplify the code

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>
drivers/gpio/gpio-msm-v2.c