power: move reboot functionality to os lib

Reboot functionality has nothing to do with PM, so move it out to the
subsys/os folder.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-04-27 11:56:39 +02:00 committed by Anas Nashif
commit f163bdb280
22 changed files with 31 additions and 30 deletions

View file

@ -9,7 +9,7 @@
#include <shell/shell.h>
#include <init.h>
#include <debug/object_tracing.h>
#include <power/reboot.h>
#include <sys/reboot.h>
#include <debug/stack.h>
#include <string.h>
#include <device.h>