OSDN Git Service

staging: unisys: visorbus: my_device_destroy add error handling
authorDavid Kershner <david.kershner@unisys.com>
Thu, 22 Dec 2016 16:09:07 +0000 (11:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 14:19:06 +0000 (15:19 +0100)
commite795491822c4c5bbb2c0d016676f5648d78cacb0
tree4312bb982fd96f2d8975e0841ef45bb2950e7e78
parent40fc79f9b43718f13d71767368caa411641f42e6
staging: unisys: visorbus: my_device_destroy add error handling

Add the proper error handling to my_device_destroy so it can be send
back up the stack for further error reporting.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: David Binder <david.binder@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c