summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-07-24 15:26:09 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-02 19:36:05 +0200
commit2854c098e222a706b91cc83b4a91dbfd97212765 (patch)
treeb73dc090a85bc01ad15fc5ed05fef30aa99d9677
parentinclude: linux: iio: Fix function parameter name in kernel doc (diff)
downloadlinux-2854c098e222a706b91cc83b4a91dbfd97212765.tar.xz
linux-2854c098e222a706b91cc83b4a91dbfd97212765.zip
include: linux: iio: Add missing kernel doc field
Fix kernel doc for the iio_dev_attr structure by adding its missing field. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--include/linux/iio/sysfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/iio/sysfs.h b/include/linux/iio/sysfs.h
index 8a1d18640ab9..9cd8f747212f 100644
--- a/include/linux/iio/sysfs.h
+++ b/include/linux/iio/sysfs.h
@@ -18,7 +18,8 @@ struct iio_chan_spec;
* struct iio_dev_attr - iio specific device attribute
* @dev_attr: underlying device attribute
* @address: associated register address
- * @l: list head for maintaining list of dynamically created attrs.
+ * @l: list head for maintaining list of dynamically created attrs
+ * @c: specification for the underlying channel
*/
struct iio_dev_attr {
struct device_attribute dev_attr;