Commit 705d5ed2 authored by simran singhal's avatar simran singhal Committed by Jonathan Cameron

staging: iio: ad7192: 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: default avatarsimran singhal <singhalsimran0@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent a2392d26
...@@ -564,18 +564,18 @@ static int ad7192_write_raw_get_fmt(struct iio_dev *indio_dev, ...@@ -564,18 +564,18 @@ static int ad7192_write_raw_get_fmt(struct iio_dev *indio_dev,
} }
static const struct iio_info ad7192_info = { static const struct iio_info ad7192_info = {
.read_raw = &ad7192_read_raw, .read_raw = ad7192_read_raw,
.write_raw = &ad7192_write_raw, .write_raw = ad7192_write_raw,
.write_raw_get_fmt = &ad7192_write_raw_get_fmt, .write_raw_get_fmt = ad7192_write_raw_get_fmt,
.attrs = &ad7192_attribute_group, .attrs = &ad7192_attribute_group,
.validate_trigger = ad_sd_validate_trigger, .validate_trigger = ad_sd_validate_trigger,
.driver_module = THIS_MODULE, .driver_module = THIS_MODULE,
}; };
static const struct iio_info ad7195_info = { static const struct iio_info ad7195_info = {
.read_raw = &ad7192_read_raw, .read_raw = ad7192_read_raw,
.write_raw = &ad7192_write_raw, .write_raw = ad7192_write_raw,
.write_raw_get_fmt = &ad7192_write_raw_get_fmt, .write_raw_get_fmt = ad7192_write_raw_get_fmt,
.attrs = &ad7195_attribute_group, .attrs = &ad7195_attribute_group,
.validate_trigger = ad_sd_validate_trigger, .validate_trigger = ad_sd_validate_trigger,
.driver_module = THIS_MODULE, .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