summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamona Bolboaca <ramona.bolboaca@analog.com>2022-11-22 11:27:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 23:37:51 +0300
commitc613afc1f257e1e3229b8dcade43a104a26541c8 (patch)
treec4f0891383d5163bee2260c46fc35e9c2984dcfb
parent60105b59cc12813267b922fa5969e38f9e8f9b50 (diff)
downloadlinux-c613afc1f257e1e3229b8dcade43a104a26541c8.tar.xz
iio: imu: adis: Remove adis_initial_startup function
Remove adis_initial_startup function since it is not used anymore. 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-10-ramona.bolboaca@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--include/linux/iio/imu/adis.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/iio/imu/adis.h b/include/linux/iio/imu/adis.h
index bcbefb757475..dc9ea299e088 100644
--- a/include/linux/iio/imu/adis.h
+++ b/include/linux/iio/imu/adis.h
@@ -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);