You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
committed by
Jonathan Cameron
parent
3167d9259c
commit
67cba0264a
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ error_ret:
|
||||
}
|
||||
|
||||
static const struct iio_info ad2s90_info = {
|
||||
.read_raw = &ad2s90_read_raw,
|
||||
.read_raw = ad2s90_read_raw,
|
||||
.driver_module = THIS_MODULE,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user