staging: unisys: visorbus: get rid of create_bus_type.
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:46 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
commit5b6f9b95f7aeddf8a77a991bf1657a84ca281ab0
treeef0548bfcfd4bc9b87f96a23c5e3ed1556798852
parent362f87f3122d1f744bb09caa40e86fae5d9f4c60
staging: unisys: visorbus: get rid of create_bus_type.

Create bus_type was just calling register_bustype. Since we control how
many times we call create_bus_type it was extraneous keeping a counter if
the bus was already registered, so the functions were no longer needed.

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