aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ocxl/pci.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2018-03-12 07:36:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-15 13:12:01 -0400
commit5fbe9f35dfcd83d94ec9bf4f68a9e0d7cc0550b5 (patch)
tree113b1cd6de62b6e6ca4703846e16107fa8cb7b32 /drivers/misc/ocxl/pci.c
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 'drivers/misc/ocxl/pci.c')
0 files changed, 0 insertions, 0 deletions