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.
Showing the changes to include/linux/iio (1 of 1 file). Show all
Unified · Split
| @@ -135,7 +135,7 @@ static inline int iio_gts_find_int_time_by_sel(struct iio_gts *gts, int sel) · 134 unmodified lines | ||
| 135 | 135 | /** |
| 136 | 136 | * iio_gts_find_sel_by_int_time - find selector matching integration time |
| 137 | 137 | * @gts: Gain time scale descriptor |
| 138 | − * @gain: HW-gain for which matching selector is searched for | |
| 138 | + * @time: Integration time for which matching selector is searched for | |
| 139 | 139 | * |
| 140 | 140 | * Return: a selector matching given integration time or -EINVAL if |
| 141 | 141 | * selector was not found. |