[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251025102008.253566-1-kriish.sharma2006@gmail.com>
Date: Sat, 25 Oct 2025 10:20:08 +0000
From: kriish.sharma2006@...il.com
To: Nuno Sá <nuno.sa@...log.com>,
Olivier Moysan <olivier.moysan@...s.st.com>,
Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Andy Shevchenko <andy@...nel.org>
Cc: linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Kriish Sharma <kriish.sharma2006@...il.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] iio: document @chan parameter in iio_backend_oversampling_ratio_set
From: Kriish Sharma <kriish.sharma2006@...il.com>
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@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506292344.HLJbrrgR-lkp@intel.com
Signed-off-by: Kriish Sharma <kriish.sharma2006@...il.com>
---
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
Powered by blists - more mailing lists