summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/exynos_adc.c
diff options
context:
space:
mode:
authorJonathan Cameron2017-07-23 18:25:47 +0200
committerJonathan Cameron2017-08-22 22:22:25 +0200
commit52b31bcc9372f2925f4898d179c655687c4aa179 (patch)
tree4014c55eb5fcb1f7fc1d0da264ed0954e073bc27 /drivers/iio/adc/exynos_adc.c
parentiio:trigger: Remove necessity to have a trig->ops structure. (diff)
downloadkernel-qcow2-linux-52b31bcc9372f2925f4898d179c655687c4aa179.tar.gz
kernel-qcow2-linux-52b31bcc9372f2925f4898d179c655687c4aa179.tar.xz
kernel-qcow2-linux-52b31bcc9372f2925f4898d179c655687c4aa179.zip
iio:adc: drop assign iio_info.driver_module and iio_trigger_ops.owner
The equivalent of both of these are now done via macro magic when the relevant register calls are made. The actual structure elements will shortly go away. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/adc/exynos_adc.c')
-rw-r--r--drivers/iio/adc/exynos_adc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c
index 6c5a7be9f8c1..f10443f92e4c 100644
--- a/drivers/iio/adc/exynos_adc.c
+++ b/drivers/iio/adc/exynos_adc.c
@@ -657,7 +657,6 @@ static int exynos_adc_reg_access(struct iio_dev *indio_dev,
static const struct iio_info exynos_adc_iio_info = {
.read_raw = &exynos_read_raw,
.debugfs_reg_access = &exynos_adc_reg_access,
- .driver_module = THIS_MODULE,
};
#define ADC_CHANNEL(_index, _id) { \