Skip to content
Commit 840414ae authored by Dan Carpenter's avatar Dan Carpenter Committed by Boris Brezillon
Browse files

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: 3a379bbc ("i3c: Add core I3C infrastructure")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent 2b2b283c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment