linux/drivers/misc/ocxl
Arvind Yadav 474cca5fd8 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>
2018-03-15 18:12:01 +01:00
..
afu_irq.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
config.c ocxl: Add a kernel API for other opencapi drivers 2018-01-24 11:42:59 +11:00
context.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
file.c ocxl: Fix potential bad errno on irq allocation 2018-02-21 11:21:01 +11:00
Kconfig ocxl: Add Makefile and Kconfig 2018-01-24 11:42:59 +11:00
link.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
main.c
Makefile ocxl: Add Makefile and Kconfig 2018-01-24 11:42:59 +11:00
ocxl_internal.h ocxl: Add a kernel API for other opencapi drivers 2018-01-24 11:42:59 +11:00
pasid.c
pci.c misc: ocxl: use put_device() instead of device_unregister() 2018-03-15 18:12:01 +01:00
sysfs.c
trace.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
trace.h ocxl: Add trace points 2018-01-24 11:42:59 +11:00