iio: imu: adis: create an unlocked version of adis_check_status()
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 22 Nov 2019 13:24:14 +0000 (15:24 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 23 Nov 2019 12:02:05 +0000 (12:02 +0000)
commit6a4d6a7d6588d8c15501542da786ebff6602475c
treed6dfd2f0ef102ec50eaac9d192e8fe6fd04e06dd
parent100bfa38c8cb81ccbbd17ee4f0c1164f455f6039
iio: imu: adis: create an unlocked version of adis_check_status()

This one also gets re-used in certain operations, so it makes sense to
have an unlocked version of this to group it with other
reads/writes/operations to have a single lock for the whole state change.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis.c
include/linux/iio/imu/adis.h