[PATCH] iio: document @chan parameter in iio_backend_oversampling_ratio_set

From: kriish . sharma2006

Date: Sat Oct 25 2025 - 06:20:41 EST


From: Kriish Sharma <kriish.sharma2006@xxxxxxxxx>

Add missing kernel-doc entry for the @chan parameter in
iio_backend_oversampling_ratio_set(), which removes the warning reported by
the kernel test robot.

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202506292344.HLJbrrgR-lkp@xxxxxxxxx
Signed-off-by: Kriish Sharma <kriish.sharma2006@xxxxxxxxx>
---
drivers/iio/industrialio-backend.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iio/industrialio-backend.c b/drivers/iio/industrialio-backend.c
index 23760652a046..937f4ef38e1e 100644
--- a/drivers/iio/industrialio-backend.c
+++ b/drivers/iio/industrialio-backend.c
@@ -717,6 +717,7 @@ EXPORT_SYMBOL_NS_GPL(iio_backend_data_size_set, "IIO_BACKEND");
/**
* iio_backend_oversampling_ratio_set - set the oversampling ratio
* @back: Backend device
+ * @chan: Channel number
* @ratio: The oversampling ratio - value 1 corresponds to no oversampling.
*
* Return:
--
2.34.1