From: simran singhal Date: Sat, 11 Mar 2017 14:26:37 +0000 (+0530) Subject: staging: iio: cdc: ad7746: Remove exceptional & on function name X-Git-Tag: v4.12-rc1~84^2~384^2~39 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=95d73c616b8c689a67533641f05b7ffc40cc6914;p=karo-tx-linux.git staging: iio: cdc: ad7746: Remove exceptional & on function name 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 Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c index 81f8b9ee1120..6294de71bfae 100644 --- a/drivers/staging/iio/cdc/ad7746.c +++ b/drivers/staging/iio/cdc/ad7746.c @@ -664,8 +664,8 @@ out: static const struct iio_info ad7746_info = { .attrs = &ad7746_attribute_group, - .read_raw = &ad7746_read_raw, - .write_raw = &ad7746_write_raw, + .read_raw = ad7746_read_raw, + .write_raw = ad7746_write_raw, .driver_module = THIS_MODULE, };