summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-01-03 14:59:37 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 10:05:05 -0800
commit16a39b7a9ccd81458e7e1799c1b213d1d590630c (patch)
treeea709beeb8bba8ae14e926b952310d98fbfa930b /drivers/staging/iio
parent7e632344adfe749749aa525f6fbe0ffc05ae3190 (diff)
staging:iio: Update iio_event_interface documentation
The documentation for the iio_event_interface does not match the actual struct anymore. This patch removes the documentation for non-existing fields and adds documentation for missing fields. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/industrialio-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index 19f897f3c85..580f3738d59 100644
--- a/drivers/staging/iio/industrialio-core.c
+++ b/drivers/staging/iio/industrialio-core.c
@@ -112,13 +112,14 @@ struct iio_detected_event_list {
/**
* struct iio_event_interface - chrdev interface for an event line
- * @dev: device assocated with event interface
* @wait: wait queue to allow blocking reads of events
* @event_list_lock: mutex to protect the list of detected events
* @det_events: list of detected events
* @max_events: maximum number of events before new ones are dropped
* @current_events: number of events in detected list
+ * @dev_attr_list: list of event interface sysfs attribute
* @flags: file operations related flags including busy flag.
+ * @group: event interface sysfs attribute group
*/
struct iio_event_interface {
wait_queue_head_t wait;