staging: unisys: visorbus: Split else if blocks into multiple if.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:23 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:39 +0000 (18:17 +0200)
commitaf53ce418b3dc4c9b66ad4b4381f08589424da06
tree3bd77641a24fa39e746e6fe0b34b233bb2679f31
parent4d77e606169efe942f6b2f41d124264df08a25e8
staging: unisys: visorbus: Split else if blocks into multiple if.

Visorbus_configure had a block of "else if" clauses at the beginning of the
function. Simplify this to just being "if" clauses since each code block
ended with a goto.

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