Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

// <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>

authored by

simran singhal and committed by
Jonathan Cameron
2c4ef48a 705d5ed2

+1 -1
+1 -1
drivers/staging/iio/adc/ad7780.c
··· 154 154 }; 155 155 156 156 static const struct iio_info ad7780_info = { 157 - .read_raw = &ad7780_read_raw, 157 + .read_raw = ad7780_read_raw, 158 158 .driver_module = THIS_MODULE, 159 159 }; 160 160