aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2018-03-12 17:06:53 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 18:12:01 +0100
commit474cca5fd894de99afc69274e8b25524ae62d7ee (patch)
tree1ac5e0eb1ac393bc7a6e13457e9e2d9a2d906ff8 /tools/perf/scripts/python
parentmisc: mic: Release reference count and memory for VOP device (diff)
downloadlinux-474cca5fd894de99afc69274e8b25524ae62d7ee.tar.gz
linux-474cca5fd894de99afc69274e8b25524ae62d7ee.zip
misc: ocxl: use put_device() instead of device_unregister()
if device_register() returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions