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

Commit 343af637 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman
Browse files

Staging: iio: magnetometer: remove exceptional & on function name



In this file,function names are otherwise used as pointers without &.
Found using coccinelle.
// <smpl>
@r@
identifier f;
@@

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

- &f
+ f
// </smpl>

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent df271034
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -554,9 +554,9 @@ static int hmc5843_init(struct hmc5843_data *data)

static const struct iio_info hmc5843_info = {
	.attrs = &hmc5843_group,
	.read_raw = &hmc5843_read_raw,
	.write_raw = &hmc5843_write_raw,
	.write_raw_get_fmt = &hmc5843_write_raw_get_fmt,
	.read_raw = hmc5843_read_raw,
	.write_raw = hmc5843_write_raw,
	.write_raw_get_fmt = hmc5843_write_raw_get_fmt,
	.driver_module = THIS_MODULE,
};