commit | 840414ae59d8858bca0a704e7f9c910d661348d7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Nov 23 10:14:42 2018 +0300 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Wed Dec 05 17:22:58 2018 +0100 |
tree | c0e6a80272ff60ce3c02cf3a3c181887f082ddf9 | |
parent | 2b2b283c059617e1be6b49872fd004b59c66594a [diff] |
i3c: fix an error code in i3c_master_add_i3c_dev_locked() We should return "ret" as-is. The "newdev" variable is a valid pointer. Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>