staging: unisys: Convert bus functions to pass bus_info pointer around
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:24 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:28:56 +0000 (13:28 -0700)
commit3032aeddd85e6499cd118246ceb44b03dd393356
tree68520db32e794eea5c903458d74331339e0df116
parent5ecbd5d46d8ce16df024d15cd8dee9e536770552
staging: unisys: Convert bus functions to pass bus_info pointer around

Most bus functions pass bus_no around and then do a lookup inside each
function to find the bus_info struct.  Instead just pass the pointer.

This prepares us for a later conversion to using visor_device.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c