Re: [PATCH 0/8] iio: simplify with spi_get_device_match_data()

From: Nuno Sá
Date: Fri Jun 07 2024 - 04:52:36 EST


On Thu, 2024-06-06 at 16:26 +0200, Krzysztof Kozlowski wrote:
> Not tested on hardware, but code looks equivalent and should not have
> functional effect.
>
> Best regards,
> Krzysztof
>
> ---
> Krzysztof Kozlowski (8):
>       iio: accel: adxl313: simplify with spi_get_device_match_data()
>       iio: accel: adxl355: simplify with spi_get_device_match_data()
>       iio: adc: max11205: simplify with spi_get_device_match_data()
>       iio: adc: ti-ads131e08: simplify with spi_get_device_match_data()
>       iio: adc: ti-tsc2046: simplify with spi_get_device_match_data()
>       iio: addac: ad74413r: simplify with spi_get_device_match_data()
>       iio: dac: max5522: simplify with spi_get_device_match_data()
>       iio: adc: mcp3564: drop redundant open-coded spi_get_device_match_data()
>
>  drivers/iio/accel/adxl313_spi.c |  8 +-------
>  drivers/iio/accel/adxl355_spi.c | 10 +++-------
>  drivers/iio/adc/max11205.c      |  5 +----
>  drivers/iio/adc/mcp3564.c       |  6 ------
>  drivers/iio/adc/ti-ads131e08.c  |  4 +---
>  drivers/iio/adc/ti-tsc2046.c    |  7 +------
>  drivers/iio/addac/ad74413r.c    | 13 +++----------
>  drivers/iio/dac/max5522.c       | 11 +++--------
>  8 files changed, 13 insertions(+), 51 deletions(-)
> ---

LGTM, just some minor comments/asks that don't really stop me from:

Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>