cleanup: include/: move misc/util.h to sys/util.h

move misc/util.h to sys/util.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-26 10:33:55 -04:00
commit a2fd7d70ec
295 changed files with 1103 additions and 1088 deletions

View file

@ -12,7 +12,7 @@
#include <clock_control/stm32_clock_control.h>
#include <drivers/clock_control.h>
#include <misc/util.h>
#include <sys/util.h>
#include <kernel.h>
#include <soc.h>
#include <drivers/rtc.h>

View file

@ -15,7 +15,7 @@ LOG_MODULE_REGISTER(rtc_mcux);
#include <drivers/rtc.h>
#include <power/power.h>
#include <soc.h>
#include <misc/util.h>
#include <sys/util.h>
#include <fsl_rtc.h>
struct mcux_rtc_config {