]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: backend: fix kernel-doc to avoid warnings and ensure consistency
authorKriish Sharma <kriish.sharma2006@gmail.com>
Tue, 28 Oct 2025 09:33:26 +0000 (09:33 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 9 Nov 2025 12:57:05 +0000 (12:57 +0000)
commit49708f45be675d726b6c39a0eee260c0df1f77bc
tree27f5758ba80fe4fedc32925b47c036fdc846b44d
parent59f40887509d258d1ac40300f6b224cac853a6d1
iio: backend: fix kernel-doc to avoid warnings and ensure consistency

Fix multiple kernel-doc warnings and make the documentation style
consistent in drivers/iio/industrialio-backend.c.

Changes include:
 - Add missing @chan parameter description in
   iio_backend_oversampling_ratio_set().
 - Add missing RETURNS section in iio_backend_get_priv().
 - Replace Return: with “RETURNS:” across the file for consistency.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506292344.HLJbrrgR-lkp@intel.com
Suggested-by: Andy Shevchenko <andy@kernel.org>
Suggested-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-backend.c