From: simran singhal Date: Sat, 11 Mar 2017 14:26:36 +0000 (+0530) Subject: staging: iio: ad7780: Remove exceptional & on function name X-Git-Tag: v4.12-rc1~84^2~384^2~40 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2c4ef48a26c82844be17b90120ee32b7d2888653;p=karo-tx-linux.git staging: iio: ad7780: 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/adc/ad7780.c b/drivers/staging/iio/adc/ad7780.c index e14960038d3e..dec3ba6eba8a 100644 --- a/drivers/staging/iio/adc/ad7780.c +++ b/drivers/staging/iio/adc/ad7780.c @@ -154,7 +154,7 @@ static const struct ad7780_chip_info ad7780_chip_info_tbl[] = { }; static const struct iio_info ad7780_info = { - .read_raw = &ad7780_read_raw, + .read_raw = ad7780_read_raw, .driver_module = THIS_MODULE, };