]> git.itanic.dy.fi Git - linux-stable/commitdiff
iio: linux/iio.h: fix Excess kernel-doc description warning
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 23 Dec 2023 05:05:56 +0000 (21:05 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 26 Dec 2023 16:02:46 +0000 (16:02 +0000)
Remove the @of_xlate: lines to prevent the kernel-doc warning:

include/linux/iio/iio.h:534: warning: Excess struct member 'of_xlate' description in 'iio_info'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-iio@vger.kernel.org
Link: https://lore.kernel.org/r/20231223050556.13948-1-rdunlap@infradead.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h

index d0ce3b71106aa7116e86ed313f8be1e06795dfa4..c5b36d2c1e7359891a90d89b9b1680c736b263e1 100644 (file)
@@ -434,13 +434,7 @@ struct iio_trigger; /* forward declaration */
  * @update_scan_mode:  function to configure device and scan buffer when
  *                     channels have changed
  * @debugfs_reg_access:        function to read or write register value of device
- * @of_xlate:          function pointer to obtain channel specifier index.
- *                     When #iio-cells is greater than '0', the driver could
- *                     provide a custom of_xlate function that reads the
- *                     *args* and returns the appropriate index in registered
- *                     IIO channels array.
  * @fwnode_xlate:      fwnode based function pointer to obtain channel specifier index.
- *                     Functionally the same as @of_xlate.
  * @hwfifo_set_watermark: function pointer to set the current hardware
  *                     fifo watermark level; see hwfifo_* entries in
  *                     Documentation/ABI/testing/sysfs-bus-iio for details on