linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/6] staging:iio: Update iio_event_interface documentation
@ 2011-12-19 10:29 Lars-Peter Clausen
  2011-12-19 10:29 ` [PATCH v2 6/6] staging:iio:events: Use non-atmoic bitops Lars-Peter Clausen
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2011-12-19 10:29 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Michael Hennerich, linux-iio, device-drivers-devel, drivers,
	Lars-Peter Clausen

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>
---
 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 2eef85f..23dd624 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

^ permalink raw reply related	[flat|nested] 15+ messages in thread
* [PATCH v2 0/6] staging:iio: Event handling updates
@ 2012-02-01 18:45 Lars-Peter Clausen
  2012-02-01 18:45 ` [PATCH v2 3/6] staging:iio:events: Use kfifo for event queue Lars-Peter Clausen
  0 siblings, 1 reply; 15+ messages in thread
From: Lars-Peter Clausen @ 2012-02-01 18:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Jonathan Cameron, devel, linux-iio, Lars-Peter Clausen

Hi Greg,

This series is a resend of the same series form early January, with two minor
issues in patch 4 and 5 being fixed. Also the order of patch 5 and 6 in the
series has been changed.

The series starts with fixing some documentation issues for the
iio_event_interface struct. The second patch moves the IIO event handling code
from the IIO core file to its own file with the next patches containing some
cleanups to the event handling code. The last patch implements poll support for
IIO event handling fds.

- Lars

Lars-Peter Clausen (6):
  staging:iio: Update iio_event_interface documentation
  staging:iio: Factor out event handling into its own file
  staging:iio:events: Use kfifo for event queue
  staging:iio:events: Use waitqueue lock to protect event queue
  staging:iio:events: Use non-atomic bitops
  staging:iio:events: Add poll support

 drivers/staging/iio/Makefile             |    2 +-
 drivers/staging/iio/iio_core.h           |    4 +
 drivers/staging/iio/industrialio-core.c  |  458 ------------------------------
 drivers/staging/iio/industrialio-event.c |  453 +++++++++++++++++++++++++++++
 4 files changed, 458 insertions(+), 459 deletions(-)
 create mode 100644 drivers/staging/iio/industrialio-event.c

-- 
1.7.8.3



^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH v2 0/6] staging:iio: Event handling updates
@ 2012-02-01 21:17 Lars-Peter Clausen
  2012-02-01 21:17 ` [PATCH v2 3/6] staging:iio:events: Use kfifo for event queue Lars-Peter Clausen
  0 siblings, 1 reply; 15+ messages in thread
From: Lars-Peter Clausen @ 2012-02-01 21:17 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Jonathan Cameron, devel, linux-iio, Lars-Peter Clausen

Hi Greg,

This series is a resend of the same series form early January, with two minor
issues in patch 4 and 5 being fixed. Also the order of patch 5 and 6 in the
series has been changed.

The series starts with fixing some documentation issues for the
iio_event_interface struct. The second patch moves the IIO event handling code
from the IIO core file to its own file with the next patches containing some
cleanups to the event handling code. The last patch implements poll support for
IIO event handling fds.

- Lars

Lars-Peter Clausen (6):
  staging:iio: Update iio_event_interface documentation
  staging:iio: Factor out event handling into its own file
  staging:iio:events: Use kfifo for event queue
  staging:iio:events: Use waitqueue lock to protect event queue
  staging:iio:events: Use non-atomic bitops
  staging:iio:events: Add poll support

 drivers/staging/iio/Makefile             |    2 +-
 drivers/staging/iio/iio_core.h           |    4 +
 drivers/staging/iio/industrialio-core.c  |  458 ------------------------------
 drivers/staging/iio/industrialio-event.c |  453 +++++++++++++++++++++++++++++
 4 files changed, 458 insertions(+), 459 deletions(-)
 create mode 100644 drivers/staging/iio/industrialio-event.c

-- 
1.7.8.3

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-02-01 21:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 10:29 [PATCH v2 1/6] staging:iio: Update iio_event_interface documentation Lars-Peter Clausen
2011-12-19 10:29 ` [PATCH v2 6/6] staging:iio:events: Use non-atmoic bitops Lars-Peter Clausen
2011-12-19 20:59   ` Jonathan Cameron
2012-01-29 10:49     ` Jonathan Cameron
2011-12-19 20:55 ` [PATCH v2 1/6] staging:iio: Update iio_event_interface documentation Jonathan Cameron
2011-12-19 21:28   ` Lars-Peter Clausen
     [not found] ` <1324290580-17511-2-git-send-email-lars@metafoo.de>
2011-12-19 20:56   ` [PATCH v2 2/6] staging:iio: Factor out event handling into its own file Jonathan Cameron
     [not found] ` <1324290580-17511-3-git-send-email-lars@metafoo.de>
2011-12-19 20:56   ` [PATCH v2 3/6] staging:iio:events: Use kfifo for event queue Jonathan Cameron
     [not found] ` <1324290580-17511-4-git-send-email-lars@metafoo.de>
2011-12-19 20:57   ` [PATCH v2 4/6] staging:iio:events: Use waitqueue lock to protect " Jonathan Cameron
2011-12-19 21:28     ` Lars-Peter Clausen
2012-01-29 18:18   ` Jonathan Cameron
2012-01-31 17:26     ` Lars-Peter Clausen
2012-01-31 20:58       ` Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2012-02-01 18:45 [PATCH v2 0/6] staging:iio: Event handling updates Lars-Peter Clausen
2012-02-01 18:45 ` [PATCH v2 3/6] staging:iio:events: Use kfifo for event queue Lars-Peter Clausen
2012-02-01 21:17 [PATCH v2 0/6] staging:iio: Event handling updates Lars-Peter Clausen
2012-02-01 21:17 ` [PATCH v2 3/6] staging:iio:events: Use kfifo for event queue Lars-Peter Clausen

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).