diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2016-02-12 20:40:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-14 16:44:06 -0800 |
commit | df271034692dfa26010f27795fe955c866320b51 (patch) | |
tree | aeaf94fdf1e209a2970388feffb65e86b36206dd | |
parent | 6d9b10c866171e77ebbbe7271dd97a758b5d0457 (diff) | |
download | op-kernel-dev-df271034692dfa26010f27795fe955c866320b51.zip op-kernel-dev-df271034692dfa26010f27795fe955c866320b51.tar.gz |
Staging: iio: light: 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>
-rw-r--r-- | drivers/staging/iio/light/isl29028.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/light/isl29028.c b/drivers/staging/iio/light/isl29028.c index 32ae112..e1bca9c 100644 --- a/drivers/staging/iio/light/isl29028.c +++ b/drivers/staging/iio/light/isl29028.c @@ -406,8 +406,8 @@ static const struct iio_chan_spec isl29028_channels[] = { static const struct iio_info isl29028_info = { .attrs = &isl29108_group, .driver_module = THIS_MODULE, - .read_raw = &isl29028_read_raw, - .write_raw = &isl29028_write_raw, + .read_raw = isl29028_read_raw, + .write_raw = isl29028_write_raw, }; static int isl29028_chip_init(struct isl29028_chip *chip) |