summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2017-05-23 11:07:46 +0300
committerJonathan Cameron <jic23@kernel.org>2017-06-03 08:43:19 +0100
commitf06a0d2c880c17672f62d2d5b82410bddf64d1a7 (patch)
tree9995b55a797bf26087365aac5d251b3cf49342e4 /drivers/iio
parent9d965236fe9b7006261eaf5a81ad36cedf2f9035 (diff)
downloadlwn-f06a0d2c880c17672f62d2d5b82410bddf64d1a7.tar.gz
lwn-f06a0d2c880c17672f62d2d5b82410bddf64d1a7.zip
iio: hi8435: remote ampersands from hi8435_info definition
C syntax allows apersands when initializing structures fields with function pointers, but in Linux sources ampersands are normally not used in thix context. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/hi8435.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/adc/hi8435.c b/drivers/iio/adc/hi8435.c
index ab59969b7c49..1115913e3b13 100644
--- a/drivers/iio/adc/hi8435.c
+++ b/drivers/iio/adc/hi8435.c
@@ -410,11 +410,11 @@ static const struct iio_chan_spec hi8435_channels[] = {
static const struct iio_info hi8435_info = {
.driver_module = THIS_MODULE,
.read_raw = hi8435_read_raw,
- .read_event_config = &hi8435_read_event_config,
+ .read_event_config = hi8435_read_event_config,
.write_event_config = hi8435_write_event_config,
- .read_event_value = &hi8435_read_event_value,
- .write_event_value = &hi8435_write_event_value,
- .debugfs_reg_access = &hi8435_debugfs_reg_access,
+ .read_event_value = hi8435_read_event_value,
+ .write_event_value = hi8435_write_event_value,
+ .debugfs_reg_access = hi8435_debugfs_reg_access,
};
static void hi8435_iio_push_event(struct iio_dev *idev, unsigned int val)