diff options
author | Ramona Bolboaca <ramona.bolboaca@analog.com> | 2022-11-22 11:27:56 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 23:37:51 +0300 |
commit | 60105b59cc12813267b922fa5969e38f9e8f9b50 (patch) | |
tree | b343cf2f6edee2380fd537489bb4bbbe507c983c /drivers/staging/iio | |
parent | f3b0ab42a875d3c4b05311bd1ebcc0322a55c30c (diff) | |
download | linux-60105b59cc12813267b922fa5969e38f9e8f9b50.tar.xz |
staging: iio: accel: adis16240: Call '__adis_initial_startup()'
Call '__adis_initial_startup()' instead of its locked variant in
'adis16240_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-9-ramona.bolboaca@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/accel/adis16240.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c index bca857eef92e..337492785f04 100644 --- a/drivers/staging/iio/accel/adis16240.c +++ b/drivers/staging/iio/accel/adis16240.c @@ -414,7 +414,7 @@ static int adis16240_probe(struct spi_device *spi) return ret; /* Get the device into a sane initial state */ - ret = adis_initial_startup(st); + ret = __adis_initial_startup(st); if (ret) return ret; |