diff options
author | Ramona Bolboaca <[email protected]> | 2022-11-22 10:27:53 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-11-23 20:37:51 +0000 |
commit | 2647f0e4d397fa5f80c78370d514b05a2110f987 (patch) | |
tree | 9214d234ed58c8d263ec951038e3d730e04cae33 | |
parent | c5de7d4c026f4c4310e6cb1e06e1ae0bd57cd838 (diff) |
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 <[email protected]>
Reviewed-by: Nuno Sá <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r-- | drivers/iio/gyro/adis16260.c | 2 |
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; |