staging: unisys: visorbus: bus_create fix error handling
authorDavid Kershner <david.kershner@unisys.com>
Thu, 3 Nov 2016 15:44:22 +0000 (11:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 09:56:39 +0000 (10:56 +0100)
commit33161a29c8d225f600fa3ac3e30004f609c39234
tree6d371dfcaa9196b4b068c000de892b88dd79d808
parent30f6c3f5ff358977d483014af24cbc913dafa6d0
staging: unisys: visorbus: bus_create fix error handling

Add error handling to bus_create function.

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