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

move i2c.h to drivers/i2c.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:54 -04:00
commit 8f692c7d38
120 changed files with 1162 additions and 1147 deletions

View file

@ -6,7 +6,7 @@
#include <device.h>
#include <drivers/gpio.h>
#include <i2c.h>
#include <drivers/i2c.h>
#include <kernel.h>
#include <misc/byteorder.h>
#include <misc/util.h>