mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
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: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
df27103469
commit
343af6379e
1 changed files with 3 additions and 3 deletions
|
@ -554,9 +554,9 @@ static int hmc5843_init(struct hmc5843_data *data)
|
||||||
|
|
||||||
static const struct iio_info hmc5843_info = {
|
static const struct iio_info hmc5843_info = {
|
||||||
.attrs = &hmc5843_group,
|
.attrs = &hmc5843_group,
|
||||||
.read_raw = &hmc5843_read_raw,
|
.read_raw = hmc5843_read_raw,
|
||||||
.write_raw = &hmc5843_write_raw,
|
.write_raw = hmc5843_write_raw,
|
||||||
.write_raw_get_fmt = &hmc5843_write_raw_get_fmt,
|
.write_raw_get_fmt = hmc5843_write_raw_get_fmt,
|
||||||
.driver_module = THIS_MODULE,
|
.driver_module = THIS_MODULE,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue