iio: adis16260: make use of adis lock helpers
authorNuno Sá <nuno.sa@analog.com>
Thu, 20 May 2021 11:59:08 +0000 (13:59 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 17:24:13 +0000 (18:24 +0100)
commit0990c6e428c81faefc3e6c53291f8ad8080577fd
tree7ca0e5d984b5f94d9dffe04c3bf76e99ca14cd0a
parentbbd125f84fccb29b365606d4c8fb4862d78a078e
iio: adis16260: 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-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/adis16260.c