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

move sensor.h to drivers/sensor.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:54:00 -04:00
commit 8c1f89fa99
125 changed files with 695 additions and 680 deletions

View file

@ -14,7 +14,7 @@
#include <spi.h>
#include <drivers/gpio.h>
#include <misc/util.h>
#include <sensor.h>
#include <drivers/sensor.h>
#include "lis2dw12_reg.h"
#if defined(CONFIG_LIS2DW12_ODR_1_6)