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

staging: iio: cdc: ad7746: Remove exceptional & on function name

Remove & from function pointers to conform to the style found elsewhere
in the file.  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>
上级 2c4ef48a
...@@ -664,8 +664,8 @@ static int ad7746_read_raw(struct iio_dev *indio_dev, ...@@ -664,8 +664,8 @@ static int ad7746_read_raw(struct iio_dev *indio_dev,
static const struct iio_info ad7746_info = { static const struct iio_info ad7746_info = {
.attrs = &ad7746_attribute_group, .attrs = &ad7746_attribute_group,
.read_raw = &ad7746_read_raw, .read_raw = ad7746_read_raw,
.write_raw = &ad7746_write_raw, .write_raw = ad7746_write_raw,
.driver_module = THIS_MODULE, .driver_module = THIS_MODULE,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册