summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-12-15 16:13:35 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-01-23 19:03:35 +0100
commit1e73d7f689c7a8fa13f78fe8d6be908fdceef17a (patch)
tree44f908011a525c056644917bc3322de0264e19ec /include
parentiio: adc: mt8186: Add compatible node for mt8186 (diff)
downloadlinux-1e73d7f689c7a8fa13f78fe8d6be908fdceef17a.tar.xz
linux-1e73d7f689c7a8fa13f78fe8d6be908fdceef17a.zip
iio: core: Fix the kernel doc regarding the currentmode iio_dev entry
This is an internal variable, which should be accessed in a very sporadic way and in no case changed by any device driver. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/20211215151344.163036-2-miquel.raynal@bootlin.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/iio/iio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index 07025d6b3de1..faf00f2c0be6 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -489,7 +489,7 @@ struct iio_buffer_setup_ops {
/**
* struct iio_dev - industrial I/O device
* @modes: [DRIVER] operating modes supported by device
- * @currentmode: [DRIVER] current operating mode
+ * @currentmode: [INTERN] current operating mode
* @dev: [DRIVER] device structure, should be assigned a parent
* and owner
* @buffer: [DRIVER] any buffer present