diff options
author | simran singhal <singhalsimran0@gmail.com> | 2017-03-11 17:26:41 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-14 00:20:35 +0300 |
commit | ebfb115c9cedc7dfef93b3f071caa71b063f4a5d (patch) | |
tree | 3a23c3513a3777fc6ab58fa8a34b84e5634de75b /drivers/staging/iio | |
parent | f3e8556702ab84d45a3866e3dea2aa7078429fc1 (diff) | |
download | linux-ebfb115c9cedc7dfef93b3f071caa71b063f4a5d.tar.xz |
staging: iio: adis16209: 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/adis16209.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/adis16209.c b/drivers/staging/iio/accel/adis16209.c index 8ff537f89d45..56bc2acb2e05 100644 --- a/drivers/staging/iio/accel/adis16209.c +++ b/drivers/staging/iio/accel/adis16209.c @@ -285,8 +285,8 @@ static const struct iio_chan_spec adis16209_channels[] = { }; static const struct iio_info adis16209_info = { - .read_raw = &adis16209_read_raw, - .write_raw = &adis16209_write_raw, + .read_raw = adis16209_read_raw, + .write_raw = adis16209_write_raw, .update_scan_mode = adis_update_scan_mode, .driver_module = THIS_MODULE, }; |