drivers/adc: stm32: Don't enable ADC instance by default in driver

ADC_1 peripheral instance was enabled by default in driver.
This is not the usual way to enable peripheral instances, as it
makes board configuration unclear.
Move activation in boards that are declaring ADC support.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-01-31 15:04:02 +01:00 committed by Kumar Gala
commit 609f78b75c
10 changed files with 64 additions and 11 deletions

View file

@ -32,4 +32,11 @@ config UART_6
endif # SERIAL
if ADC
config ADC_1
default y
endif # ADC
endif # BOARD_NUCLEO_F207ZG