dm: blk: Update return value in blk_create_devicef()
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:34:59 +0000 (11:34 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:16 +0000 (16:44 +0900)
commit7074b2a3649acc9fd6e5db8d24c2c9c6fc35d5df
tree69ad2f2468deab593b184ffe8ec08497cec6e384
parentc16ad675d58e3e4b0ced00004ddef450dc62314a
dm: blk: Update return value in blk_create_devicef()

This returns 'ret' but the value is always zero. Update it to simply
return 0, for clarity.

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