]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: meson-saradc: use of_device_get_match_data
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 22 Sep 2018 22:21:01 +0000 (00:21 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 29 Sep 2018 11:26:08 +0000 (12:26 +0100)
commit234c64a290cb6ec79a2b1ac289a1713dc9f7890e
tree524c39250f3abf9961b5c1cbeea8bd9530e8fb4c
parent3d9bf07a72f9257f081be7d4381cb70cf0d9426e
iio: adc: meson-saradc: use of_device_get_match_data

This simplifies our _probe function by using of_device_get_match_data
instead of open-coding it. No functional changes.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/meson_saradc.c