summaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm_core.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2018-03-08 15:06:08 +0530
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-03-17 21:46:19 -0700
commitbe5acd246daa04edad9d758b8be37e5e2f989243 (patch)
tree61d18172da5c4144e22bcc2ae3d2002d779119a8 /drivers/misc/lkdtm_core.c
parenta9011726c4bb37e5d6a7279bf47fcc19cd9d3e1a (diff)
downloadlinux-be5acd246daa04edad9d758b8be37e5e2f989243.tar.gz
linux-be5acd246daa04edad9d758b8be37e5e2f989243.tar.bz2
linux-be5acd246daa04edad9d758b8be37e5e2f989243.zip
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 <arvind.yadav.cs@gmail.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/misc/lkdtm_core.c')
0 files changed, 0 insertions, 0 deletions