[PATCH v1 10/10] staging: iio: gyro: Remove exceptional & on function name

2017-03-11 Thread simran singhal
Remove & from function pointers to conform to the style found elsewhere in the file. Done using the following semantic patch // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal --- drivers/staging/iio/gyro/adis16060_core.c | 2 +- 1 file c

Re: [PATCH v1 10/10] staging: iio: gyro: Remove exceptional & on function name

2017-03-11 Thread Jonathan Cameron
On 11/03/17 14:26, simran singhal wrote: > Remove & from function pointers to conform to the style found elsewhere > in the file. Done using the following semantic patch > > // > @r@ > identifier f; > @@ > > f(...) { ... } > @@ > identifier r.f; > @@ > > - &f > + f > // > > Signed-off-by: si

Re: [PATCH v1 10/10] staging: iio: gyro: Remove exceptional & on function name

2017-03-11 Thread Jonathan Cameron
On 11/03/17 18:48, Jonathan Cameron wrote: > On 11/03/17 14:26, simran singhal wrote: >> Remove & from function pointers to conform to the style found elsewhere >> in the file. Done using the following semantic patch >> >> // >> @r@ >> identifier f; >> @@ >> >> f(...) { ... } >> @@ >> identifier