diff options
author | simran singhal <singhalsimran0@gmail.com> | 2017-03-11 17:26:42 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-14 00:20:36 +0300 |
commit | 3167d9259cf16a5decad88516a376203ce70b8ff (patch) | |
tree | e689271023eaa5f64958c67cc2aacfa7d3ff59fc /drivers/staging/iio | |
parent | ebfb115c9cedc7dfef93b3f071caa71b063f4a5d (diff) | |
download | linux-3167d9259cf16a5decad88516a376203ce70b8ff.tar.xz |
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>
Diffstat (limited to 'drivers/staging/iio')
-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, }; |