staging: unisys: visorbus: Fix up visordriver_probe
authorDavid Kershner <david.kershner@unisys.com>
Sun, 13 Mar 2016 02:27:08 +0000 (21:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commit4000622ec21ba5e93fdb74bc4168a9545a089ce7
tree63c107427246e91c5e40ff252135dda86fca1c47
parentc6af7a9cbcfa65b9322436836ad7cc323d2d5d6d
staging: unisys: visorbus: Fix up visordriver_probe

Fixup the visordriver_probe function. Rearrange the function to avoid
needing gotos and removed unnecessary wmb().

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