Re: [PATCH 1/6] Staging: iio: addac: Prefer using the BIT macro

2015-09-12 Thread Jonathan Cameron
On 10/09/15 17:30, Shraddha Barke wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro. > > This was done with coccinelle: > > @@ int g; @@ > > -(1 << g) > +BIT(g) > > Signed-off-by: Shraddha Barke A small process related point. These are reworked versions of your earlier seri

Re: [PATCH 1/6] Staging: iio: addac: Prefer using the BIT macro

2015-09-12 Thread Jonathan Cameron
On 10/09/15 17:30, Shraddha Barke wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro. > > This was done with coccinelle: > > @@ int g; @@ > > -(1 << g) > +BIT(g) > > Signed-off-by: Shraddha Barke Good straight forward cases. Applied to the togreg branch of iio.git. Will be i