summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/fxas21002c_core.c
diff options
context:
space:
mode:
authorMehdi Djait <mehdi.djait.k@gmail.com>2023-03-02 16:04:36 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-03-11 15:18:29 +0300
commitf700e55ef6ef9ec723164659ed4385900981c872 (patch)
treedc8a16e48d5fe9ca7b5ce59ba1475cb7158a37ab /drivers/iio/gyro/fxas21002c_core.c
parent4ad682e04c1694aba95627f60e89f83178c277c2 (diff)
downloadlinux-f700e55ef6ef9ec723164659ed4385900981c872.tar.xz
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/gyro/fxas21002c_core.c')
-rw-r--r--drivers/iio/gyro/fxas21002c_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/gyro/fxas21002c_core.c b/drivers/iio/gyro/fxas21002c_core.c
index 3ea1d4613080..c28d17ca6f5e 100644
--- a/drivers/iio/gyro/fxas21002c_core.c
+++ b/drivers/iio/gyro/fxas21002c_core.c
@@ -813,7 +813,7 @@ static irqreturn_t fxas21002c_data_rdy_thread(int irq, void *private)
if (!data_ready)
return IRQ_NONE;
- iio_trigger_poll_chained(data->dready_trig);
+ iio_trigger_poll_nested(data->dready_trig);
return IRQ_HANDLED;
}