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

iio: imu: adis: Remove adis_initial_startup function

Remove adis_initial_startup function since it is not used
anymore.
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-10-ramona.bolboaca@analog.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 60105b59
......@@ -428,18 +428,6 @@ static inline int adis_check_status(struct adis *adis)
return ret;
}
/* locked version of __adis_initial_startup() */
static inline int adis_initial_startup(struct adis *adis)
{
int ret;
mutex_lock(&adis->state_lock);
ret = __adis_initial_startup(adis);
mutex_unlock(&adis->state_lock);
return ret;
}
static inline void adis_dev_lock(struct adis *adis)
{
mutex_lock(&adis->state_lock);
......
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