summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorRamona Bolboaca <ramona.bolboaca@analog.com>2022-11-22 09:27:53 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 21:37:51 +0100
commit2647f0e4d397fa5f80c78370d514b05a2110f987 (patch)
tree9214d234ed58c8d263ec951038e3d730e04cae33 /drivers/iio
parentiio: gyro: adis16136: Call '__adis_initial_startup()' in probe (diff)
downloadlinux-2647f0e4d397fa5f80c78370d514b05a2110f987.tar.xz
linux-2647f0e4d397fa5f80c78370d514b05a2110f987.zip
iio: gyro: adis16260: Call '__adis_initial_startup()' in probe
Call '__adis_initial_startup()' instead of its locked variant in 'adis16260_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-6-ramona.bolboaca@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/gyro/adis16260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/gyro/adis16260.c b/drivers/iio/gyro/adis16260.c
index eaf57bd339ed..112d635b7dfd 100644
--- a/drivers/iio/gyro/adis16260.c
+++ b/drivers/iio/gyro/adis16260.c
@@ -395,7 +395,7 @@ static int adis16260_probe(struct spi_device *spi)
return ret;
/* Get the device into a sane initial state */
- ret = adis_initial_startup(&adis16260->adis);
+ ret = __adis_initial_startup(&adis16260->adis);
if (ret)
return ret;