From: Lars-Peter Clausen <lars@metafoo.de>
To: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jonathan Cameron <jic23@kernel.org>, <devel@driverdev.osuosl.org>,
<linux-iio@vger.kernel.org>, Lars-Peter Clausen <lars@metafoo.de>
Subject: [PATCH 1/6] staging:iio: Update iio_event_interface documentation
Date: Tue, 3 Jan 2012 14:59:37 +0100 [thread overview]
Message-ID: <1325599182-5376-1-git-send-email-lars@metafoo.de> (raw)
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>
---
drivers/staging/iio/industrialio-core.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index 19f897f..580f373 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;
--
1.7.7.3
next reply other threads:[~2012-01-03 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 13:59 Lars-Peter Clausen [this message]
2012-01-03 13:59 ` [PATCH 2/6] staging:iio: Factor out event handling into its own file Lars-Peter Clausen
2012-01-03 13:59 ` [PATCH 3/6] staging:iio:events: Use kfifo for event queue Lars-Peter Clausen
2012-01-03 13:59 ` [PATCH 4/6] staging:iio:events: Use waitqueue lock to protect " Lars-Peter Clausen
2012-01-03 13:59 ` [PATCH 5/6] staging:iio:events: Add poll support Lars-Peter Clausen
2012-01-03 13:59 ` [PATCH 6/6] staging:iio:events: Use non-atmoic bitops Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1325599182-5376-1-git-send-email-lars@metafoo.de \
--to=lars@metafoo.de \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).