mbox series

[0/3] iio: Use of_device_get_match_data to clean code

Message ID 20211019100013.27312-1-tangbin@cmss.chinamobile.com (mailing list archive)
Headers show
Series iio: Use of_device_get_match_data to clean code | expand

Message

Tang Bin Oct. 19, 2021, 10 a.m. UTC
Hi all:

This patch series replace 'of_match_device' with
'of_device_get_match_data', to make code cleaner and better.

Thanks

Tang Bin (3):
  iio: adc: rockchip_saradc: Use of_device_get_match_data to simplify
    code
  iio: adc: max9611: Use of_device_get_match_data to simplify code
  iio: adc: twl6030-gpadc: Use of_device_get_match_data to simplify code

 drivers/iio/adc/max9611.c         | 4 +---
 drivers/iio/adc/rockchip_saradc.c | 7 ++-----
 drivers/iio/adc/twl6030-gpadc.c   | 7 ++-----
 3 files changed, 5 insertions(+), 13 deletions(-)