staging: unisys: visorbus: visorchipset_init clean up gotos
authorDavid Kershner <david.kershner@unisys.com>
Tue, 5 Apr 2016 03:31:37 +0000 (23:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 04:13:51 +0000 (21:13 -0700)
commit1366a3db3dcf4d64c5eb0621df79a3d1cf2da5da
treee2b33e29c052b3526d80a49998edb7b6ea033604
parent2b9bcf81d37751ebdae8c1456d14c1462e4e8f61
staging: unisys: visorbus: visorchipset_init clean up gotos

Several error paths were not logging a message to s-Par during failure.
Error paths in visorchipset_init() were corrected so that they now all
do proper clean-ups. This made it necessary to move the function
visorchipset_file_cleanup() above visorchipset_init so it can be
referenced.

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