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

move led.h to drivers/led.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:56 -04:00
commit a14ef3bf01
13 changed files with 162 additions and 147 deletions

View file

@ -12,7 +12,7 @@
#include <drivers/gpio.h>
#include <drivers/i2c.h>
#include <kernel.h>
#include <led.h>
#include <drivers/led.h>
#include <misc/byteorder.h>
#include <zephyr.h>