pinctrl/at91: using for_each_set_bit to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 26 Oct 2012 14:50:54 +0000 (22:50 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 28 Oct 2012 19:34:09 +0000 (20:34 +0100)
commit05daa16a86b1f822eeb4324f8874d4d9b915a717
tree540e96475a45f5c6af31c507e20dccb9ff00f957
parent11aabdcd747d29dd587ff258db0219d1a4e03dfb
pinctrl/at91: using for_each_set_bit to simplify the code

Using for_each_set_bit() to simplify the code.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c