From: Jonathan Cameron Date: Sun, 23 Jul 2017 16:26:26 +0000 (+0100) Subject: staging:iio:docs: drop reference to setting trig_ops->owner X-Git-Tag: rel_imx_4.19.35_1.1.0~11324^2~273^2~29 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=e838494e0b48782262b6d18e7d92666b046a7ef4;p=linux.git 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 Reviewed-by: Lars-Peter Clausen --- 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("", ...); 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.