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. Change-Id: Ic7196271dc547363e899adb46be86e36af4fc92d Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure") Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Git-commit: 840414ae59d8858bca0a704e7f9c910d661348d7 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Alok Chauhan <alokc@codeaurora.org>
Loading
Please register or sign in to comment