summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2018-03-12 17:06:52 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 18:12:01 +0100
commit5fbe9f35dfcd83d94ec9bf4f68a9e0d7cc0550b5 (patch)
tree113b1cd6de62b6e6ca4703846e16107fa8cb7b32 /tools/perf/scripts/python
parent1b723413aada7383a4b24ded93ed26eee1b3a3ca (diff)
misc: mic: Release reference count and memory for VOP device
Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized. Release allocated memory for vop device in vop_release_dev(). Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions