diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2023-04-21 08:46:11 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-05-13 17:54:57 +0100 |
commit | 672cde9ef80ffde9e76d38f7aa2b287c4a18de9a (patch) | |
tree | 95b92795e97be99893cc0966db974588cb1d4b5d /include | |
parent | 279c3a2a5eb2c1054fbe38e5c33be08584229047 (diff) | |
download | linux-stable-672cde9ef80ffde9e76d38f7aa2b287c4a18de9a.tar.gz linux-stable-672cde9ef80ffde9e76d38f7aa2b287c4a18de9a.tar.bz2 linux-stable-672cde9ef80ffde9e76d38f7aa2b287c4a18de9a.zip |
iio: fix doc for iio_gts_find_sel_by_int_time
The kerneldoc for iio_gts_find_sel_by_int_time() has an error.
Documentation states that function is searching a selector for a HW-gain
while it is searching a selector for an integration time.
Fix the documentation by saying the function is looking for a selector
for an integration time.
Fixes: 38416c28e168 ("iio: light: Add gain-time-scale helpers")
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/ZEIjI4YUzqPZk/9X@fedora
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/iio/iio-gts-helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/iio-gts-helper.h b/include/linux/iio/iio-gts-helper.h index dd64e544a3da..9cb6c80dea71 100644 --- a/include/linux/iio/iio-gts-helper.h +++ b/include/linux/iio/iio-gts-helper.h @@ -135,7 +135,7 @@ static inline int iio_gts_find_int_time_by_sel(struct iio_gts *gts, int sel) /** * iio_gts_find_sel_by_int_time - find selector matching integration time * @gts: Gain time scale descriptor - * @gain: HW-gain for which matching selector is searched for + * @time: Integration time for which matching selector is searched for * * Return: a selector matching given integration time or -EINVAL if * selector was not found. |