aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/trigger
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2011-12-14 20:49:31 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-16 10:56:26 -0800
commitc0fdbe149c9d1cab9057c39a10cd609751541cf2 (patch)
treeb89ea65fba70885ee2a98ba3de0272221fe22796 /drivers/staging/iio/trigger
parentstaging:iio: Make sure all triggers have a trigger_ops for the owner field. (diff)
downloadlinux-dev-c0fdbe149c9d1cab9057c39a10cd609751541cf2.tar.xz
linux-dev-c0fdbe149c9d1cab9057c39a10cd609751541cf2.zip
staging:iio: iio_trigger contains defunct owner field. Remove it.
This field moved into the trigger_ops structure a while back, but somehow never quite got cleared up. This clears the last few drivers to set it (nothing uses it) and gets rid of it entirely. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/trigger')
-rw-r--r--drivers/staging/iio/trigger/iio-trig-periodic-rtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c b/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c
index d35d085da949..bd7416b2c561 100644
--- a/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c
+++ b/drivers/staging/iio/trigger/iio-trig-periodic-rtc.c
@@ -125,7 +125,6 @@ static int iio_trig_periodic_rtc_probe(struct platform_device *dev)
goto error_put_trigger_and_remove_from_list;
}
trig->private_data = trig_info;
- trig->owner = THIS_MODULE;
trig->ops = &iio_prtc_trigger_ops;
/* RTC access */
trig_info->rtc