commit | 44505977e482fbf53b93378697f54693c29473a7 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 29 11:34:59 2017 -0600 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Thu Aug 17 16:44:16 2017 +0900 |
tree | 69ad2f2468deab593b184ffe8ec08497cec6e384 | |
parent | d9289f3e7a5c1e368e0ff3528f0a835287a1aa6f [diff] |
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>
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c index 3adb92b..3aec569 100644 --- a/drivers/block/blk-uclass.c +++ b/drivers/block/blk-uclass.c
@@ -596,7 +596,7 @@ } device_set_name_alloced(*devp); - return ret; + return 0; } int blk_unbind_all(int if_type)