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

From: Bjorn Andersson
Date: Sun Mar 18 2018 - 18:47:18 EST


On Thu 08 Mar 01:36 PST 2018, Arvind Yadav wrote:

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

Patches applied.

Thanks,
Bjorn

>
> 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
>