mbox series

[0/2] Make use of adis lock helpers

Message ID 20210520115909.466275-1-nuno.sa@analog.com (mailing list archive)
Headers show
Series Make use of adis lock helpers | expand

Message

Nuno Sa May 20, 2021, 11:59 a.m. UTC
In [1], some helpers were added to the adis lib to make things a bit
more neater when users need to use the device lock. Somehow, these two
users were left "behind". Let's make things consistent and make them use
the helpers.
 
[1]: https://patchwork.kernel.org/project/linux-iio/patch/20210218114039.216091-5-nuno.sa@analog.com/

Nuno Sá (2):
  iio: adis16260: make use of adis lock helpers
  iio: adis16136: make use of adis lock helpers

 drivers/iio/gyro/adis16136.c | 15 ++++++---------
 drivers/iio/gyro/adis16260.c |  4 ++--
 2 files changed, 8 insertions(+), 11 deletions(-)

Comments

Jonathan Cameron May 22, 2021, 6:03 p.m. UTC | #1
On Thu, 20 May 2021 13:59:07 +0200
Nuno Sá <nuno.sa@analog.com> wrote:

> In [1], some helpers were added to the adis lib to make things a bit
> more neater when users need to use the device lock. Somehow, these two
> users were left "behind". Let's make things consistent and make them use
> the helpers.
>  
> [1]: https://patchwork.kernel.org/project/linux-iio/patch/20210218114039.216091-5-nuno.sa@analog.com/
> 
> Nuno Sá (2):
>   iio: adis16260: make use of adis lock helpers
>   iio: adis16136: make use of adis lock helpers
> 
>  drivers/iio/gyro/adis16136.c | 15 ++++++---------
>  drivers/iio/gyro/adis16260.c |  4 ++--
>  2 files changed, 8 insertions(+), 11 deletions(-)
> 
Applied to the togreg branch of iio.git and pushed out as testing for
all the normal reasons.

Thanks,

Jonathan