summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/at91_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/at91_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/at91_adc.c')
-rw-r--r--drivers/iio/adc/at91_adc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 15109728cae7..3836d4222a3e 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -594,7 +594,6 @@ static int at91_adc_configure_trigger(struct iio_trigger *trig, bool state)
}
static const struct iio_trigger_ops at91_adc_trigger_ops = {
- .owner = THIS_MODULE,
.set_trigger_state = &at91_adc_configure_trigger,
};
@@ -976,7 +975,6 @@ static int at91_adc_probe_pdata(struct at91_adc_state *st,
}
static const struct iio_info at91_adc_info = {
- .driver_module = THIS_MODULE,
.read_raw = &at91_adc_read_raw,
};