Skip to content

Commit 8d96fc2

Browse files
cristina2689jic23
authored andcommitted
Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI
This patch adds the documentation ABI for the remove_trigger attribute, provided by the iio-trig-sysfs stand-alone driver. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent e0950d3 commit 8d96fc2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,14 @@ Description:
2929
into the associated file, which will serve as the id of the
3030
trigger. If the trigger with the specified id is already present
3131
in the system, an invalid argument message will be returned.
32+
33+
What: /sys/bus/iio/devices/iio_sysfs_trigger/remove_trigger
34+
KernelVersion: 2.6.39
35+
Contact: linux-iio@vger.kernel.org
36+
Description:
37+
This attribute is used to unregister and delete a previously
38+
created trigger from the list of available triggers. In order to
39+
achieve this, one should write a positive integer into the
40+
associated file, representing the id of the trigger that needs
41+
to be removed. If the trigger can't be found, an invalid
42+
argument message will be returned to the user.

0 commit comments

Comments
 (0)