summaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/iio-trig-loop.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 19:26:08 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-23 00:14:52 +0300
commit38ebbf689e5008264fa4aa4e9b9119d85e1a4657 (patch)
treef8e83b9c41d5c1f8a7fea6735b9ba2dd695e50bc /drivers/iio/trigger/iio-trig-loop.c
parent5e42916ad9e97067b4c9c430229479f9a6a3a3d4 (diff)
downloadlinux-38ebbf689e5008264fa4aa4e9b9119d85e1a4657.tar.xz
iio:triggers: 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. Note that stm32-timer-trigger has expanded rather beyond triggers (to include encoder input counting for example) and hence has an iio_info structure. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/trigger/iio-trig-loop.c')
-rw-r--r--drivers/iio/trigger/iio-trig-loop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/trigger/iio-trig-loop.c b/drivers/iio/trigger/iio-trig-loop.c
index dc6be28f96fe..b4b02dbd6e8a 100644
--- a/drivers/iio/trigger/iio-trig-loop.c
+++ b/drivers/iio/trigger/iio-trig-loop.c
@@ -74,7 +74,6 @@ static int iio_loop_trigger_set_state(struct iio_trigger *trig, bool state)
static const struct iio_trigger_ops iio_loop_trigger_ops = {
.set_trigger_state = iio_loop_trigger_set_state,
- .owner = THIS_MODULE,
};
static struct iio_sw_trigger *iio_trig_loop_probe(const char *name)