staging: unisys: Convert device functions to pass dev_info pointer around
authorDon Zickus <dzickus@redhat.com>
Wed, 13 May 2015 17:22:25 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 20:30:31 +0000 (13:30 -0700)
commitb4b598fdde2773f0f0498d7c1e41b088db781f11
tree1995afb2271de2c76e86b353f560f114de200b42
parent3032aeddd85e6499cd118246ceb44b03dd393356
staging: unisys: Convert device functions to pass dev_info pointer around

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

This prepares us for a later conversion to using visor device.

No real technical changes.  Just function header changes and little
cleanups as a result.

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/include/visorbus.h
drivers/staging/unisys/visorbus/visorbus_main.c
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchipset.c