Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpmsg: smd: use put_device() if device_register fail
if device_register() returned an error! Always use put_device() to give up the reference initialized. unregister device for other return error. Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
- Loading branch information