diff options
author | Mehdi Djait <mehdi.djait.k@gmail.com> | 2023-03-02 14:04:36 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-03-11 12:18:29 +0000 |
commit | f700e55ef6ef9ec723164659ed4385900981c872 (patch) | |
tree | dc8a16e48d5fe9ca7b5ce59ba1475cb7158a37ab /drivers/iio/potentiostat | |
parent | 4ad682e04c1694aba95627f60e89f83178c277c2 (diff) | |
download | linux-stable-f700e55ef6ef9ec723164659ed4385900981c872.tar.gz linux-stable-f700e55ef6ef9ec723164659ed4385900981c872.tar.bz2 linux-stable-f700e55ef6ef9ec723164659ed4385900981c872.zip |
iio: Rename iio_trigger_poll_chained and add kernel-doc
Rename the function to iio_trigger_poll_nested. Add kernel-doc with
a note on the context where the function is expected to be called.
Signed-off-by: Mehdi Djait <mehdi.djait.k@gmail.com>
Link: https://lore.kernel.org/r/841b533cba28ca25a8e87280c44e45979166e8e2.1677761379.git.mehdi.djait.k@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/potentiostat')
-rw-r--r-- | drivers/iio/potentiostat/lmp91000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/potentiostat/lmp91000.c b/drivers/iio/potentiostat/lmp91000.c index b82f093f1e6a..0083e858c21e 100644 --- a/drivers/iio/potentiostat/lmp91000.c +++ b/drivers/iio/potentiostat/lmp91000.c @@ -118,7 +118,7 @@ static int lmp91000_read(struct lmp91000_data *data, int channel, int *val) data->chan_select = channel != LMP91000_REG_MODECN_3LEAD; - iio_trigger_poll_chained(data->trig); + iio_trigger_poll_nested(data->trig); ret = wait_for_completion_timeout(&data->completion, HZ); reinit_completion(&data->completion); |