dm: Provide a way to shut down driver model
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:01 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:24 +0000 (14:07 +0100)
commit9adbd7a116d62349eb0a85b5a08ab3ff0a12d556
tree2c5eb3c92fb02ac1f364963becf4dd1321cd3d13
parent7497812d47d4ad17172ec373469a33a6ab8b257e
dm: Provide a way to shut down driver model

Add a new method which removes and unbinds all drivers.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
drivers/core/root.c
include/dm/root.h