iio: core: Fix the kernel doc regarding the currentmode iio_dev entry
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 15 Dec 2021 15:13:35 +0000 (16:13 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 23 Jan 2022 18:03:35 +0000 (18:03 +0000)
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>
include/linux/iio/iio.h

index 07025d6..faf00f2 100644 (file)
@@ -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