diff options
author | Jonathan Cameron <jic23@kernel.org> | 2017-09-26 08:05:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-26 09:38:57 +0200 |
commit | f4052efe310af212531471244a1ea5b388ab6cbc (patch) | |
tree | d2c98ff251e096c291f84f268537ea7f52903acc /drivers/iio/trigger | |
parent | 069f0e0c06b7dda71185bd27b3787868cf353f44 (diff) | |
download | linux-f4052efe310af212531471244a1ea5b388ab6cbc.tar.bz2 |
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/trigger')
-rw-r--r-- | drivers/iio/trigger/stm32-lptimer-trigger.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/trigger/stm32-lptimer-trigger.c b/drivers/iio/trigger/stm32-lptimer-trigger.c index 241eae6a4306..de361d879929 100644 --- a/drivers/iio/trigger/stm32-lptimer-trigger.c +++ b/drivers/iio/trigger/stm32-lptimer-trigger.c @@ -37,7 +37,6 @@ static int stm32_lptim_validate_device(struct iio_trigger *trig, } static const struct iio_trigger_ops stm32_lptim_trigger_ops = { - .owner = THIS_MODULE, .validate_device = stm32_lptim_validate_device, }; |