OpenCloudOS-Kernel/include/linux/iio/gyro
Nuno Sá 3cc36cabc6 iio: gyro: itg3200_core: do not use internal iio_dev lock
The iio_device lock is only meant for internal use. Hence define a
device local lock to protect against concurrent accesses.

While at it, properly include "mutex.h" for mutex related APIs.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20221004134909.1692021-13-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-11-23 19:43:58 +00:00
..
itg3200.h iio: gyro: itg3200_core: do not use internal iio_dev lock 2022-11-23 19:43:58 +00:00