From: simran singhal Date: Sat, 11 Mar 2017 14:26:44 +0000 (+0530) Subject: staging: iio: gyro: Remove & on function name to conform to similar IIO drivers X-Git-Tag: v4.12-rc1~84^2~384^2~32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e7d87687cbe9d94b2d3799dd31681b87adee84be;p=karo-tx-linux.git 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 // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: simran singhal Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/gyro/adis16060_core.c b/drivers/staging/iio/gyro/adis16060_core.c index ab816a215eb8..c9d46e796f79 100644 --- a/drivers/staging/iio/gyro/adis16060_core.c +++ b/drivers/staging/iio/gyro/adis16060_core.c @@ -117,7 +117,7 @@ out_unlock: } static const struct iio_info adis16060_info = { - .read_raw = &adis16060_read_raw, + .read_raw = adis16060_read_raw, .driver_module = THIS_MODULE, };