diff options
author | 2017-09-26 08:05:08 +0100 | |
---|---|---|
committer | 2017-09-26 09:38:57 +0200 | |
commit | f4052efe310af212531471244a1ea5b388ab6cbc (patch) | |
tree | d2c98ff251e096c291f84f268537ea7f52903acc /drivers/iio/counter | |
parent | Merge tag 'iio-for-4.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/ji... (diff) | |
download | linux-f4052efe310af212531471244a1ea5b388ab6cbc.tar.gz linux-f4052efe310af212531471244a1ea5b388ab6cbc.tar.bz2 linux-f4052efe310af212531471244a1ea5b388ab6cbc.zip |
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.c | 1 |
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[] = { |