Commit c5de7d4c authored by Ramona Bolboaca's avatar Ramona Bolboaca Committed by Jonathan Cameron

iio: gyro: adis16136: Call '__adis_initial_startup()' in probe

Call '__adis_initial_startup()' instead of its locked variant in
'adis16136_probe()'.
The locks are not needed at this point.
Signed-off-by: default avatarRamona Bolboaca <ramona.bolboaca@analog.com>
Reviewed-by: default avatarNuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221122082757.449452-5-ramona.bolboaca@analog.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 09f8360f
...@@ -429,7 +429,7 @@ static int adis16136_initial_setup(struct iio_dev *indio_dev) ...@@ -429,7 +429,7 @@ static int adis16136_initial_setup(struct iio_dev *indio_dev)
uint16_t prod_id; uint16_t prod_id;
int ret; int ret;
ret = adis_initial_startup(&adis16136->adis); ret = __adis_initial_startup(&adis16136->adis);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment