Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cristina Opriceana and committed by
Jonathan Cameron
8d96fc27 e0950d3b

+11
+11
Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
··· 29 29 into the associated file, which will serve as the id of the 30 30 trigger. If the trigger with the specified id is already present 31 31 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.