Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};

+1 −1
Original line number Diff line number Diff line
@@ -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,
};