提交 e7d87687 编写于 作者: S simran singhal 提交者: Jonathan Cameron

staging: iio: gyro: Remove & on function name to conform to similar IIO drivers

Remove & from function pointers to conform to the style preferred in IIO.
(Note that this is fine in staging drivers, but would create too much churn
to do outside of staging, unless otherwise working on a driver).

Done using the following semantic patch

// <smpl>
@r@
identifier f;
@@

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

- &f
+ f
// </smpl>
Signed-off-by: Nsimran singhal <singhalsimran0@gmail.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 67cba026
......@@ -117,7 +117,7 @@ static int adis16060_read_raw(struct iio_dev *indio_dev,
}
static const struct iio_info adis16060_info = {
.read_raw = &adis16060_read_raw,
.read_raw = adis16060_read_raw,
.driver_module = THIS_MODULE,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册