iio:triggers: drop assign iio_info.driver_module and iio_trigger_ops.owner
authorJonathan Cameron <jic23@kernel.org>
Sun, 23 Jul 2017 16:26:08 +0000 (17:26 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Aug 2017 21:14:52 +0000 (22:14 +0100)
commit38ebbf689e5008264fa4aa4e9b9119d85e1a4657
treef8e83b9c41d5c1f8a7fea6735b9ba2dd695e50bc
parent5e42916ad9e97067b4c9c430229479f9a6a3a3d4
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>
drivers/iio/trigger/iio-trig-hrtimer.c
drivers/iio/trigger/iio-trig-interrupt.c
drivers/iio/trigger/iio-trig-loop.c
drivers/iio/trigger/iio-trig-sysfs.c
drivers/iio/trigger/stm32-timer-trigger.c