dm: Move uclass error checking/probing into a function
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:08 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:25 +0000 (14:07 +0100)
commit9ca296a1b0ef37e53ca62ec8a345d9970f987599
tree4fe6e371b8d31025b2d64be96e858d29294cf30f
parent093f79ab88d57b800283b0a172c17167699f4243
dm: Move uclass error checking/probing into a function

Several functions will use this same pattern, so bring it into a function.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c