Re: [PATCH] gpio_msm: using for_each_set_bit to simplify the code

From: David Brown
Date: Mon Sep 17 2012 - 11:50:57 EST


On Mon, Sep 17, 2012 at 12:54:45PM +0200, Linus Walleij wrote:
> On Fri, Sep 14, 2012 at 4:28 AM, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote:
>
> > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
> >
> > 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@xxxxxxxxxxxxxxxxx>
>
> David, does this patch look OK from your point of view?

It appears to. Rohit Vaswani is doing some work on this driver, so
I've also forwarded the patch to him.

Acked-by: David Brown <davidb@xxxxxxxxxxxxxx>

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/