commit | 4c8d12796665fb6d9421887f989c3efe0822f5f7 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Tue Oct 29 13:34:35 2019 +0100 |
committer | Maureen Helm <maureen.helm@nxp.com> | Wed Oct 30 09:21:45 2019 +0100 |
tree | bca4535aa864525a6d8baf7b94d68c345fc54db6 | |
parent | e00bd0051778b5c895aacf2b0443505c929db9cb [diff] |
drivers: adc: mcux_adc12: use DT_INST defines for instances Convert the NXP Kinetis ADC12 driver from relying on CONFIG_ADC_n Kconfig defines to using DT_INST defines for instance configuration. This resolves the issue of having e.g. ADC12 instances 2 and 3 enabled, but not instance 0. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>