Re: [PATCH v2 1/4] iio: adc: at91_adc: use of_device_get_match_data() helper

2020-09-30 Thread Alexandre Belloni
On 30/09/2020 09:00:05+0300, Alexandru Ardelean wrote: > This is a small tidy-up. The of_device_get_match_data() helper retrieves > the driver data from the OF table, without needed to explicitly know the > table variable (since it can retrieve it from the driver object). > > Signed-off-by: Alexan

[PATCH v2 1/4] iio: adc: at91_adc: use of_device_get_match_data() helper

2020-09-29 Thread Alexandru Ardelean
This is a small tidy-up. The of_device_get_match_data() helper retrieves the driver data from the OF table, without needed to explicitly know the table variable (since it can retrieve it from the driver object). Signed-off-by: Alexandru Ardelean --- drivers/iio/adc/at91_adc.c | 5 + 1 file c