summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorsimran singhal <singhalsimran0@gmail.com>2017-03-11 19:56:41 +0530
committerJonathan Cameron <jic23@kernel.org>2017-03-13 21:20:35 +0000
commitebfb115c9cedc7dfef93b3f071caa71b063f4a5d (patch)
tree3a23c3513a3777fc6ab58fa8a34b84e5634de75b /drivers
parentf3e8556702ab84d45a3866e3dea2aa7078429fc1 (diff)
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')
-rw-r--r--drivers/staging/iio/accel/adis16209.c4
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,
};