aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:26:26 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-09-03 18:10:27 +0100
commite838494e0b48782262b6d18e7d92666b046a7ef4 (patch)
treef512e3076f31904ed376e720bbcf7a0d1b9fd293 /drivers/staging/iio
parentiio:potentiometer:max5487: Drop explicit setting of module owner (diff)
downloadlinux-dev-e838494e0b48782262b6d18e7d92666b046a7ef4.tar.xz
linux-dev-e838494e0b48782262b6d18e7d92666b046a7ef4.zip
staging:iio:docs: drop reference to setting trig_ops->owner
Whilst these docs have lots of other flaws, this element is definitely no longer true. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/Documentation/trigger.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/iio/Documentation/trigger.txt b/drivers/staging/iio/Documentation/trigger.txt
index 7c0e505e4f04..299a1add98bf 100644
--- a/drivers/staging/iio/Documentation/trigger.txt
+++ b/drivers/staging/iio/Documentation/trigger.txt
@@ -10,10 +10,6 @@ struct iio_trig *trig = iio_trigger_alloc("<trigger format string>", ...);
allocates a trigger structure. The key elements to then fill in within
a driver are:
-trig->owner
- Typically set to THIS_MODULE. Used to ensure correct
- ownership of core allocated resources.
-
trig->set_trigger_state:
Function that enables / disables the underlying source of the trigger.