Re: [PATCH] ARM: mmp: using for_each_set_bit to simplify the code

2012-09-21 Thread Haojian Zhuang
On Fri, Sep 14, 2012 at 11:23 AM, Eric Miao wrote: > On Fri, Sep 14, 2012 at 10:30 AM, Wei Yongjun wrote: >> From: Wei Yongjun >> >> 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 Y

Re: [PATCH] ARM: mmp: using for_each_set_bit to simplify the code

2012-09-13 Thread Eric Miao
On Fri, Sep 14, 2012 at 10:30 AM, Wei Yongjun wrote: > From: Wei Yongjun > > 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 Great API, this is good. Acked-by: Eric Miao > ---

[PATCH] ARM: mmp: using for_each_set_bit to simplify the code

2012-09-13 Thread Wei Yongjun
From: Wei Yongjun 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 --- arch/arm/mach-mmp/irq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-mmp/irq