All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] rpmsg: use put_device() if device_register fail
@ 2018-03-08  9:36 Arvind Yadav
  2018-03-08  9:36 ` [PATCH 1/2] rpmsg: glink: " Arvind Yadav
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arvind Yadav @ 2018-03-08  9:36 UTC (permalink / raw)
  To: ohad, bjorn.andersson; +Cc: linux-kernel, linux-remoteproc

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-18 22:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08  9:36 [PATCH 0/2] rpmsg: use put_device() if device_register fail Arvind Yadav
2018-03-08  9:36 ` [PATCH 1/2] rpmsg: glink: " Arvind Yadav
2018-03-08  9:36 ` [PATCH 2/2] rpmsg: smd: " Arvind Yadav
2018-03-18 22:47 ` [PATCH 0/2] rpmsg: " Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.