commit | 34e49a7c5484a5cf80217d9fef2f99e501cc4bf8 | [log] [tgz] |
---|---|---|
author | Erwan Gouriou <erwan.gouriou@linaro.org> | Fri Jan 13 09:06:43 2023 +0100 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Jan 25 15:00:21 2023 +0000 |
tree | 3e3c1e3af655f44a347b0fdd155da56045975280 | |
parent | fb1ee429a21fffce9608dabb81a2ab03c1b3ff7d [diff] |
drivers: adc: stm32: Refactor driver init section Slightly refactor STM32_ADC_INIT macro. adc_stm32_cfg_##index declaration is now part of ADC_STM32_INIT and extracted from CONFIG_ADC_STM32_SHARED_IRQS #ifdef. Aim is to minimize code duplication when adding new adc_stm32_cfg_X or adc_stm32_data_Y entries Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>