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