staging: unisys: visorbus: bus_destroy add error handling
authorDavid Kershner <david.kershner@unisys.com>
Thu, 3 Nov 2016 15:44:21 +0000 (11:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 09:56:39 +0000 (10:56 +0100)
commit30f6c3f5ff358977d483014af24cbc913dafa6d0
tree57eaca971f22a35245c8b50856dab1f9c5a192a6
parent3e0e8db92fef5dea189d740bed2d8e3d7a25dfe8
staging: unisys: visorbus: bus_destroy add error handling

Do proper error handling and return error codes instead of just ignoring
them.

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