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>
This commit is contained in:
parent
6d9b10c866
commit
df27103469
@ -406,8 +406,8 @@ static const struct iio_chan_spec isl29028_channels[] = {
|
|||||||
static const struct iio_info isl29028_info = {
|
static const struct iio_info isl29028_info = {
|
||||||
.attrs = &isl29108_group,
|
.attrs = &isl29108_group,
|
||||||
.driver_module = THIS_MODULE,
|
.driver_module = THIS_MODULE,
|
||||||
.read_raw = &isl29028_read_raw,
|
.read_raw = isl29028_read_raw,
|
||||||
.write_raw = &isl29028_write_raw,
|
.write_raw = isl29028_write_raw,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int isl29028_chip_init(struct isl29028_chip *chip)
|
static int isl29028_chip_init(struct isl29028_chip *chip)
|
||||||
|
Loading…
Reference in New Issue
Block a user