dm: core: drop device removal error path correctly
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 24 Apr 2015 08:28:40 +0000 (17:28 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Apr 2015 22:49:02 +0000 (16:49 -0600)
commitf0f932d620ffc8b5a93fb457efbcfb3c0a7444f2
tree704fc721e502f1540015f2db9a7a59eb33f9fbf6
parentcc555bd4f40a652471df4a3621d45ee57df0ca11
dm: core: drop device removal error path correctly

Trivial bug fix for commit 5a87c4174d18 (dm: core: Drop device
removal error path when not supported).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c