diff options
author | simran singhal <singhalsimran0@gmail.com> | 2017-03-11 19:56:42 +0530 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-13 21:20:36 +0000 |
commit | 3167d9259cf16a5decad88516a376203ce70b8ff (patch) | |
tree | e689271023eaa5f64958c67cc2aacfa7d3ff59fc | |
parent | ebfb115c9cedc7dfef93b3f071caa71b063f4a5d (diff) |
staging: iio: adis16203: 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/adis16203.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/adis16203.c b/drivers/staging/iio/accel/adis16203.c index 68189aded729..b59755aedd8b 100644 --- a/drivers/staging/iio/accel/adis16203.c +++ b/drivers/staging/iio/accel/adis16203.c @@ -233,8 +233,8 @@ static const struct iio_chan_spec adis16203_channels[] = { }; static const struct iio_info adis16203_info = { - .read_raw = &adis16203_read_raw, - .write_raw = &adis16203_write_raw, + .read_raw = adis16203_read_raw, + .write_raw = adis16203_write_raw, .update_scan_mode = adis_update_scan_mode, .driver_module = THIS_MODULE, }; |