summaryrefslogtreecommitdiff
path: root/drivers/iio/counter
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-09-26 10:05:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-26 10:38:57 +0300
commitf4052efe310af212531471244a1ea5b388ab6cbc (patch)
treed2c98ff251e096c291f84f268537ea7f52903acc /drivers/iio/counter
parent069f0e0c06b7dda71185bd27b3787868cf353f44 (diff)
downloadlinux-f4052efe310af212531471244a1ea5b388ab6cbc.tar.xz
iio:stm32-lp-timer and ep93xx: 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 have gone away. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/counter')
-rw-r--r--drivers/iio/counter/stm32-lptimer-cnt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/counter/stm32-lptimer-cnt.c b/drivers/iio/counter/stm32-lptimer-cnt.c
index 1c5909bb1605..81ae5f74216d 100644
--- a/drivers/iio/counter/stm32-lptimer-cnt.c
+++ b/drivers/iio/counter/stm32-lptimer-cnt.c
@@ -178,7 +178,6 @@ static int stm32_lptim_read_raw(struct iio_dev *indio_dev,
static const struct iio_info stm32_lptim_cnt_iio_info = {
.read_raw = stm32_lptim_read_raw,
.write_raw = stm32_lptim_write_raw,
- .driver_module = THIS_MODULE,
};
static const char *const stm32_lptim_quadrature_modes[] = {