]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: iio: gyro: Remove & on function name to conform to similar IIO drivers
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Mar 2017 14:26:44 +0000 (19:56 +0530)
committerJonathan Cameron <jic23@kernel.org>
Mon, 13 Mar 2017 21:20:38 +0000 (21:20 +0000)
commite7d87687cbe9d94b2d3799dd31681b87adee84be
tree657fe938b46d11ccac9d78b9d71ec6527879e335
parent67cba0264a99602175695c7686f2c034250cd0c1
staging: iio: gyro: Remove & on function name to conform to similar IIO drivers

Remove & from function pointers to conform to the style preferred in IIO.
(Note that this is fine in staging drivers, but would create too much churn
to do outside of staging, unless otherwise working on a driver).

Done using the following semantic patch

// <smpl>
@r@
identifier f;
@@

f(...) { ... }
@@
identifier r.f;
@@

- &f
+ f
// </smpl>

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/gyro/adis16060_core.c