diff options
author | simran singhal <singhalsimran0@gmail.com> | 2017-03-11 19:56:40 +0530 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-13 21:20:34 +0000 |
commit | f3e8556702ab84d45a3866e3dea2aa7078429fc1 (patch) | |
tree | 260686e2ea91dd185fa18201e52dba5bcd13565e | |
parent | 0701dccb211ac3a6a490afe14be2b197b5462b2d (diff) |
staging: iio: adis16201: 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>
-rw-r--r-- | drivers/staging/iio/accel/adis16201.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/adis16201.c b/drivers/staging/iio/accel/adis16201.c index d6c8658c88b9..75652681eaa7 100644 --- a/drivers/staging/iio/accel/adis16201.c +++ b/drivers/staging/iio/accel/adis16201.c @@ -285,8 +285,8 @@ static const struct iio_chan_spec adis16201_channels[] = { }; static const struct iio_info adis16201_info = { - .read_raw = &adis16201_read_raw, - .write_raw = &adis16201_write_raw, + .read_raw = adis16201_read_raw, + .write_raw = adis16201_write_raw, .update_scan_mode = adis_update_scan_mode, .driver_module = THIS_MODULE, }; |