summaryrefslogtreecommitdiff
path: root/drivers/iio/accel
diff options
context:
space:
mode:
authorRamona Bolboaca <ramona.bolboaca@analog.com>2022-11-22 10:27:51 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 20:37:50 +0000
commit09f8360f3a8843733d9e54960405c902982062f4 (patch)
tree3f59f500ecfd89320c1df6c223d51cf4bca6c060 /drivers/iio/accel
parent594ff4c49e9dd7aba84d82052643c1e4b09b8788 (diff)
downloadlwn-09f8360f3a8843733d9e54960405c902982062f4.tar.gz
lwn-09f8360f3a8843733d9e54960405c902982062f4.zip
iio: accel: adis16209: Call '__adis_initial_startup()' in probe
Call '__adis_initial_startup()' instead of its locked variant in 'adis16209_probe()'. The locks are not needed at this point. Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20221122082757.449452-4-ramona.bolboaca@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
-rw-r--r--drivers/iio/accel/adis16209.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/accel/adis16209.c b/drivers/iio/accel/adis16209.c
index 5a9c6e2296f1..0035e4f4db63 100644
--- a/drivers/iio/accel/adis16209.c
+++ b/drivers/iio/accel/adis16209.c
@@ -291,7 +291,7 @@ static int adis16209_probe(struct spi_device *spi)
if (ret)
return ret;
- ret = adis_initial_startup(st);
+ ret = __adis_initial_startup(st);
if (ret)
return ret;