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

@ -7,7 +7,7 @@
#include "task_wdt/task_wdt.h"
#include <drivers/watchdog.h>
#include <power/reboot.h>
#include <sys/reboot.h>
#include <device.h>
#include <errno.h>