linux-sg2042/drivers/misc/mic/bus
Arvind Yadav 5fbe9f35df 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>
2018-03-15 18:12:01 +01:00
..
Makefile misc: mic: MIC VOP Bus 2016-02-09 17:32:37 -08:00
cosm_bus.c misc: mic: replace kfree with put_device 2015-10-17 21:42:29 -07:00
cosm_bus.h misc: mic: Fix crash when MIC reset is invoked in RESET_FAILED state 2016-02-07 22:53:40 -08:00
mic_bus.c treewide: Move dma_ops from struct dev_archdata into struct device 2017-01-24 12:23:35 -05:00
scif_bus.c treewide: Move dma_ops from struct dev_archdata into struct device 2017-01-24 12:23:35 -05:00
scif_bus.h treewide: Constify most dma_map_ops structures 2017-01-24 12:23:35 -05:00
vop_bus.c misc: mic: Release reference count and memory for VOP device 2018-03-15 18:12:01 +01:00
vop_bus.h misc: mic: MIC VOP Bus 2016-02-09 17:32:37 -08:00