Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1191837

[PATCH 4/6] iio: event: Add missing fields in kernel docs

From Cristina Opriceana <cristina.opriceana@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 4/6] iio: event: Add missing fields in kernel docs
Date 2015-07-24 15:30 +0200
Message-ID <pPLd1-71j-27@gated-at.bofh.it> (permalink)
References <pPL3j-6PY-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Fix kernel docs warnings by adding the missing fields,
each with its associated description.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
---
 drivers/iio/industrialio-event.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c
index 894d813..b2f63f9 100644
--- a/drivers/iio/industrialio-event.c
+++ b/drivers/iio/industrialio-event.c
@@ -32,6 +32,7 @@
  * @dev_attr_list:	list of event interface sysfs attribute
  * @flags:		file operations related flags including busy flag.
  * @group:		event interface sysfs attribute group
+ * @read_lock:		lock to protect kfifo read operations
  */
 struct iio_event_interface {
 	wait_queue_head_t	wait;
@@ -75,6 +76,11 @@ EXPORT_SYMBOL(iio_push_event);
 
 /**
  * iio_event_poll() - poll the event queue to find out if it has data
+ * @filep:	File structure pointer to identify the device
+ * @wait:	Poll table pointer to add the wait queue on
+ *
+ * Return: (POLLIN | POLLRDNORM) if data is available for reading
+ *	   or a negative error code on failure
  */
 static unsigned int iio_event_poll(struct file *filep,
 			     struct poll_table_struct *wait)
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] iio: Fix kernel docs warnings Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:20 +0200
  [PATCH 2/6] iio: buffer: Fix kernel docs warnings Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:20 +0200
    Re: [PATCH 2/6] iio: buffer: Fix kernel docs warnings Hartmut Knaack <knaack.h@gmx.de> - 2015-08-02 21:40 +0200
      Re: [PATCH 2/6] iio: buffer: Fix kernel docs warnings Hartmut Knaack <knaack.h@gmx.de> - 2015-08-02 21:50 +0200
        Re: [PATCH 2/6] iio: buffer: Fix kernel docs warnings Cristina Georgiana Opriceana <cristina.opriceana@gmail.com> - 2015-08-03 12:50 +0200
    Re: [PATCH 2/6] iio: buffer: Fix kernel docs warnings Jonathan Cameron <jic23@kernel.org> - 2015-08-02 19:30 +0200
  [PATCH 1/6] iio: core: Add function params for kernel docs Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:20 +0200
    Re: [PATCH 1/6] iio: core: Add function params for kernel docs Jonathan Cameron <jic23@kernel.org> - 2015-08-02 19:30 +0200
  [PATCH 3/6] iio: trigger: Add missing fields in kernel docs Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:30 +0200
    Re: [PATCH 3/6] iio: trigger: Add missing fields in kernel docs Jonathan Cameron <jic23@kernel.org> - 2015-08-02 19:40 +0200
  [PATCH 5/6] include: linux: iio: Fix function parameter name in  kernel doc Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:30 +0200
    Re: [PATCH 5/6] include: linux: iio: Fix function parameter name in  kernel doc Jonathan Cameron <jic23@kernel.org> - 2015-08-02 19:40 +0200
  [PATCH 6/6] include: linux: iio: Add missing kernel doc field Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:30 +0200
    Re: [PATCH 6/6] include: linux: iio: Add missing kernel doc field Jonathan Cameron <jic23@kernel.org> - 2015-08-02 19:40 +0200
  [PATCH 4/6] iio: event: Add missing fields in kernel docs Cristina Opriceana <cristina.opriceana@gmail.com> - 2015-07-24 15:30 +0200
    Re: [PATCH 4/6] iio: event: Add missing fields in kernel docs Hartmut Knaack <knaack.h@gmx.de> - 2015-08-02 21:50 +0200
      Re: [PATCH 4/6] iio: event: Add missing fields in kernel docs Lars-Peter Clausen <lars@metafoo.de> - 2015-08-03 11:10 +0200
      Re: [PATCH 4/6] iio: event: Add missing fields in kernel docs Cristina Georgiana Opriceana <cristina.opriceana@gmail.com> - 2015-08-03 11:10 +0200
    Re: [PATCH 4/6] iio: event: Add missing fields in kernel docs Jonathan Cameron <jic23@kernel.org> - 2015-08-02 19:40 +0200

csiph-web