summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-08-12 14:29:41 +0300
committerJonathan Cameron <jic23@kernel.org>2015-08-16 10:51:23 +0100
commit8d96fc276aaec449871bcb86cef41f3187136f0a (patch)
tree65dbc900440eafacdf70a228ce321b30cadcbcdb /Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
parente0950d3b9e88051082f7d5a60a0f8156285cbb6d (diff)
downloadlinux-8d96fc276aaec449871bcb86cef41f3187136f0a.tar.bz2
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>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
index 76698d2f0eea..04ac62305018 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
+++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
@@ -29,3 +29,14 @@ Description:
into the associated file, which will serve as the id of the
trigger. If the trigger with the specified id is already present
in the system, an invalid argument message will be returned.
+
+What: /sys/bus/iio/devices/iio_sysfs_trigger/remove_trigger
+KernelVersion: 2.6.39
+Contact: linux-iio@vger.kernel.org
+Description:
+ This attribute is used to unregister and delete a previously
+ created trigger from the list of available triggers. In order to
+ achieve this, one should write a positive integer into the
+ associated file, representing the id of the trigger that needs
+ to be removed. If the trigger can't be found, an invalid
+ argument message will be returned to the user.