History

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.

Matti Vaittinen committed 3 years ago

Commit 672cde91 parent 279c3a21 file · +1 −1Browse files

Unified · Split

include/linux/iio/iio-gts-helper.h+1−1
@@ -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 * iio_gts_find_sel_by_int_time - find selector matching integration time136 * iio_gts_find_sel_by_int_time - find selector matching integration time
137 * @gts: Gain time scale descriptor137 * @gts: Gain time scale descriptor
138 * @gain: HW-gain for which matching selector is searched for138 * @time: Integration time for which matching selector is searched for
139 *139 *
140 * Return: a selector matching given integration time or -EINVAL if140 * Return: a selector matching given integration time or -EINVAL if
141 * selector was not found.141 * selector was not found.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t