commit | 72ebfe86fac2ca0a0e1af9fe1eaa3a634e3e17a1 | [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 | 2f3b95dbc78ce96b0f9f471e688db66223988419 [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>