diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-17 17:19:38 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-22 10:16:48 +0100 |
commit | cbf86d719817c8adcd45a85ae84cd305bf835a42 (patch) | |
tree | 46eee6e77f5adb631f686673ca37cb59213b19a1 /drivers | |
parent | d11e8fd86e0fe883cdc00e040bb9e1a67573cf4e (diff) | |
download | u-boot-imx-cbf86d719817c8adcd45a85ae84cd305bf835a42.zip u-boot-imx-cbf86d719817c8adcd45a85ae84cd305bf835a42.tar.gz u-boot-imx-cbf86d719817c8adcd45a85ae84cd305bf835a42.tar.bz2 |
dm: core: a trivial clean up
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/core/root.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/core/root.c b/drivers/core/root.c index a328a48..47b3acf 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -73,10 +73,8 @@ int dm_scan_platdata(bool pre_reloc_only) dm_warn("Some drivers were not found\n"); ret = 0; } - if (ret) - return ret; - return 0; + return ret; } #ifdef CONFIG_OF_CONTROL |