summaryrefslogtreecommitdiff
path: root/common/cmd_md5sum.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 21:22:01 +0300
committerSimon Glass <sjg@chromium.org>2015-04-18 20:11:20 +0300
commit79b5888729b65e7040d6a964f0015fc2c21b2385 (patch)
tree3497e7a22e622a32b7f3257682456087b17e409c /common/cmd_md5sum.c
parentcad4291cd053f8eaa404e47ab289a6169c19ae93 (diff)
downloadu-boot-79b5888729b65e7040d6a964f0015fc2c21b2385.tar.xz
dm: usb: Adjust usb_alloc_new_device() to return an error
This function returns NULL on error at present. Adjust it so that we can return a real error, as is needed with driver model. Also improve the error handling in its caller, usb_hub_port_connect_change(), and adjust the code order to prepare for driver model. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'common/cmd_md5sum.c')
0 files changed, 0 insertions, 0 deletions