Re: [PATCH 0/8] iio: adc: Maxim and TI ADC driver cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 16 May 2021 18:25:12 +0100
Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> 
> A few random bits of tidying up for a Sunday evening.
> Mostly devm stuff, but other things in here as well that came up whilst
> I was looking.
> 
> Note this was a fairly random selection, so isn't implying there
> aren't similar cleanups to be done in other TI and Maxim drivers.
> (there definitely are plenty more of these if anyone is bored ;)
> 
> Cc: Alexandru Ardelean <aardelean@xxxxxxxxxxx>

Series applied with the minor tweak to drop spi_set_drvdata in two 
drivers as pointed out by Alex.

Thanks,

Jonathan

> 
> Jonathan Cameron (8):
>   iio: adc: max11100: Use get_unaligned_be16() rather than opencoding.
>   iio: adc: max11100: Use devm_ functions for rest of probe()
>   iio: adc: max1118: Use devm_ managed functions for all of probe
>   iio: adc: max1118: Avoid jumping back and forth between spi and iio
>     structures
>   iio: adc: ti-adc081c: Use devm managed functions for all of probe()
>   iio: adc: ti-adc0832: Use devm managed functions for all of probe()
>   iio: adc: ti-adc108s102: Use devm managed functions for all of probe()
>   iio: adc: ti-adc161s626: Use devm managed functions for all of probe.
> 
>  drivers/iio/adc/max11100.c      | 32 ++++++----------
>  drivers/iio/adc/max1118.c       | 68 ++++++++++++---------------------
>  drivers/iio/adc/ti-adc081c.c    | 43 +++++++--------------
>  drivers/iio/adc/ti-adc0832.c    | 39 ++++++-------------
>  drivers/iio/adc/ti-adc108s102.c | 45 ++++++++--------------
>  drivers/iio/adc/ti-adc161s626.c | 50 +++++++++---------------
>  6 files changed, 94 insertions(+), 183 deletions(-)
> 




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux