staging: vme: remove vme_add_bus() and vme_remove_bus()
authorManohar Vanga <manohar.vanga@cern.ch>
Fri, 4 Nov 2011 10:12:30 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 01:25:38 +0000 (17:25 -0800)
commit5b93c2a2f1d560463cbcd6e3fca5366b75e99b4b
tree0ca3e04f2f5b16f005f50e76f614056902ab7438
parentc26f6112990b90977db429596ed0640d153b3a32
staging: vme: remove vme_add_bus() and vme_remove_bus()

The functions vme_add_bus() and vme_remove_bus() were only being used
in the vme_register_bridge() and vme_unregister_bridge() functions
respectively. This patch gets rid of them and moves their code to
vme_register_bridge() and vme_unregister_bridge().

Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/vme.c