cleanup: include/: move adc.h to drivers/adc.h

move adc.h to drivers/adc.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 15:53:45 -04:00
commit f4709f2c2f
14 changed files with 424 additions and 409 deletions

View file

@ -6,7 +6,7 @@
#include <soc.h>
#include <adc.h>
#include <drivers/adc.h>
#include <logging/log.h>
LOG_MODULE_REGISTER(adc_sam0, CONFIG_ADC_LOG_LEVEL);