]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation: iio-trig-sysfs: Add remove_trigger attribute ABI
authorCristina Opriceana <cristina.opriceana@gmail.com>
Wed, 12 Aug 2015 11:29:41 +0000 (14:29 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 16 Aug 2015 09:51:23 +0000 (10:51 +0100)
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>
Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs

index 76698d2f0eea0e389fcbb613c9e0468d7bdad46d..04ac62305018558ed04ff8208594521f894a0583 100644 (file)
@@ -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.