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(-) --- base-commit: ed3dab9323648a17a85908c574787be12d4cc871 change-id: 20240606-spi-match-data-6bf7c51ba913 Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>