commit | 4ebe01bde85f2ffa09e4471a7a063bc339876917 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jan 25 08:26:59 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 29 17:09:54 2015 -0700 |
tree | c3c07cbe4b7a6b266d59ad118751a821b0a7cc05 | |
parent | cc7cf947efd177bf17f5a07ff4e15729a5c10d69 [diff] |
dm: core: Tidy up error handling in device_bind() Make the error handling more standard to make it easier to build on top of it. Also correct a bug in the error path where there is no parent. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>