[PATCH 0/2] rpmsg: use put_device() if device_register fail

From: Arvind Yadav
Date: Thu Mar 08 2018 - 04:37:06 EST


if device_register() returned an error! Always use put_device()
to give up the reference initialized. unregister device for
other return error.


Arvind Yadav (2):
[PATCH 1/2] rpmsg: glink: use put_device() if device_register fail
[PATCH 2/2] rpmsg: smd: use put_device() if device_register fail

drivers/rpmsg/qcom_glink_smem.c | 3 ++-
drivers/rpmsg/qcom_smd.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)

--
1.9.1