OSDN Git Service

iio: adis16136: make use of adis lock helpers
authorNuno Sá <nuno.sa@analog.com>
Thu, 20 May 2021 11:59:09 +0000 (13:59 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 17:24:13 +0000 (18:24 +0100)
commit5d142d41585f5b1fc4d774c0ac368516cbafc493
tree274ffea0cc59f5f16d290736b2c38d4c4d417215
parent0990c6e428c81faefc3e6c53291f8ad8080577fd
iio: adis16136: make use of adis lock helpers

Use the adis lib lock helpers to lock the device. This makes things
consistent with other users of the library.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210520115909.466275-3-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/adis16136.c