drivers: sam0: Fix deprecated IRQ macro usage

During conversion in #16937 a few IRQ macro aliases where missed
(probably due to lack of enabled test cases that compile them),
this fixes their usage.

Signed-off-by: Derek Hageman <hageman@inthat.cloud>
This commit is contained in:
Derek Hageman 2019-06-22 07:50:04 -06:00 committed by Anas Nashif
commit 4c27e5b72e
2 changed files with 6 additions and 6 deletions

View file

@ -597,12 +597,12 @@ static const struct adc_driver_api adc_sam0_api = {
&adc_sam0_api); \
static void adc_sam0_config_##n(struct device *dev) \
{ \
IRQ_CONNECT(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ, \
DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_PRIORITY, \
IRQ_CONNECT(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_0, \
DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_0_PRIORITY, \
adc_sam0_isr, \
DEVICE_GET(adc0_sam_##n), \
0); \
irq_enable(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ); \
irq_enable(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_0); \
ADC_SAM0_CONFIGURE(n); \
}