]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83f974f723077796034baa70e8e168226d68afc5
tree7ca0e5d984b5f94d9dffe04c3bf76e99ca14cd0a
parent74201ff2c3cad29ca59a32bc5b9432298a63f016
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