Commit 67cba026 authored by simran singhal's avatar simran singhal Committed by Jonathan Cameron

staging: iio: resolver: Remove & on function name to align with other IIO drivers.

Remove & from function pointers to conform to the style found in the wider
subsystem.  Done using the following semantic patch

// <smpl>
@r@
identifier f;
@@

f(...) { ... }
@@
identifier r.f;
@@

- &f
+ f
// </smpl>
Signed-off-by: default avatarsimran singhal <singhalsimran0@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 3167d925
......@@ -97,7 +97,7 @@ static const struct iio_chan_spec ad2s1200_channels[] = {
};
static const struct iio_info ad2s1200_info = {
.read_raw = &ad2s1200_read_raw,
.read_raw = ad2s1200_read_raw,
.driver_module = THIS_MODULE,
};
......
......@@ -47,7 +47,7 @@ static int ad2s90_read_raw(struct iio_dev *indio_dev,
}
static const struct iio_info ad2s90_info = {
.read_raw = &ad2s90_read_raw,
.read_raw = ad2s90_read_raw,
.driver_module = THIS_MODULE,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment