From: Lars-Peter Clausen Date: Tue, 3 Jan 2012 13:59:37 +0000 (+0100) Subject: staging:iio: Update iio_event_interface documentation X-Git-Tag: MMI-PSA29.97-13-9~17268^2~176^2~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16a39b7a9ccd81458e7e1799c1b213d1d590630c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c index 19f897f3c85e..580f3738d59f 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;