Re: [PATCH v2 4/4] iio: adc: at91_adc: remove of_match_ptr() usage

2020-09-30 Thread Alexandre Belloni
On 30/09/2020 11:46:06+0300, Alexandru Ardelean wrote: > On Wed, Sep 30, 2020 at 10:48 AM Alexandre Belloni > wrote: > > > > Hi, > > > > On 30/09/2020 09:00:08+0300, Alexandru Ardelean wrote: > > > Since the driver should be allowed to build without OF support, the > > > of_match_ptr() is

Re: [PATCH v2 4/4] iio: adc: at91_adc: remove of_match_ptr() usage

2020-09-30 Thread Alexandru Ardelean
On Wed, Sep 30, 2020 at 10:48 AM Alexandre Belloni wrote: > > Hi, > > On 30/09/2020 09:00:08+0300, Alexandru Ardelean wrote: > > Since the driver should be allowed to build without OF support, the > > of_match_ptr() is redundant. > > > > This can probably be squashed with the previous commit. > >

Re: [PATCH v2 4/4] iio: adc: at91_adc: remove of_match_ptr() usage

2020-09-30 Thread Alexandre Belloni
Hi, On 30/09/2020 09:00:08+0300, Alexandru Ardelean wrote: > Since the driver should be allowed to build without OF support, the > of_match_ptr() is redundant. > This can probably be squashed with the previous commit. Also, I think that you should really make the driver DT only else, the

[PATCH v2 4/4] iio: adc: at91_adc: remove of_match_ptr() usage

2020-09-29 Thread Alexandru Ardelean
Since the driver should be allowed to build without OF support, the of_match_ptr() is redundant. Signed-off-by: Alexandru Ardelean --- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index