drivers: adc: adc_stm32: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
c44a4d84e0
commit
0c9b537edf
10 changed files with 11 additions and 72 deletions
|
@ -190,11 +190,4 @@
|
|||
|
||||
#define DT_WDT_0_NAME DT_INST_0_ST_STM32_WATCHDOG_LABEL
|
||||
|
||||
#define DT_ADC_1_BASE_ADDRESS DT_ST_STM32_ADC_40012400_BASE_ADDRESS
|
||||
#define DT_ADC_1_IRQ DT_ST_STM32_ADC_40012400_IRQ_0
|
||||
#define DT_ADC_1_IRQ_PRI DT_ST_STM32_ADC_40012400_IRQ_0_PRIORITY
|
||||
#define DT_ADC_1_NAME DT_ST_STM32_ADC_40012400_LABEL
|
||||
#define DT_ADC_1_CLOCK_BITS DT_ST_STM32_ADC_40012400_CLOCK_BITS_0
|
||||
#define DT_ADC_1_CLOCK_BUS DT_ST_STM32_ADC_40012400_CLOCK_BUS_0
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue