Tag: 93d429a77d86f502d1f62d78212b42d2d79b3352

ARM: mmp: using for_each_set_bit to simplify the code

Author: Wei Yongjun <yongjun_wei@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 Signed-off-by: Haojian Zhuang — arch/arm/mach-mmp/irq.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-)   diff –git a/arch/arm/mach-mmp/irq.c b/arch/arm/mach-mmp/irq.c index e60c7d9..3c71246 100644 — a/arch/arm/mach-mmp/irq.c +++ b/arch/arm/mach-mmp/irq.c @@ -153,10 +153,8 @@ …

Continue reading