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

2020-09-29 Thread Alexandru Ardelean
On Tue, Sep 29, 2020 at 6:55 PM Jonathan Cameron wrote: > > On Mon, 28 Sep 2020 15:54:23 +0300 > Alexandru Ardelean wrote: > > > This tries to solve a warning reported by the lkp bot: > > > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > > >> 'at91_adc_dt_ids'

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

2020-09-29 Thread Alexandru Ardelean
On Tue, Sep 29, 2020 at 6:55 PM Jonathan Cameron wrote: > > On Mon, 28 Sep 2020 15:54:23 +0300 > Alexandru Ardelean wrote: > > > This tries to solve a warning reported by the lkp bot: > > > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > > >> 'at91_adc_dt_ids'

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

2020-09-29 Thread Jonathan Cameron
On Mon, 28 Sep 2020 15:54:23 +0300 Alexandru Ardelean wrote: > This tries to solve a warning reported by the lkp bot: > > >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable > >> 'at91_adc_dt_ids' [-Wunused-const-variable] >static const struct of_device_id at91_adc_dt_ids[] =

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

2020-09-28 Thread Alexandru Ardelean
This tries to solve a warning reported by the lkp bot: >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable >> 'at91_adc_dt_ids' [-Wunused-const-variable] static const struct of_device_id at91_adc_dt_ids[] = { ^ 1 warning generated. This shows