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>
Showing
- drivers/staging/unisys/include/visorbus.h 5 additions, 3 deletionsdrivers/staging/unisys/include/visorbus.h
- drivers/staging/unisys/visorbus/visorbus_main.c 52 additions, 43 deletionsdrivers/staging/unisys/visorbus/visorbus_main.c
- drivers/staging/unisys/visorbus/visorbus_private.h 9 additions, 8 deletionsdrivers/staging/unisys/visorbus/visorbus_private.h
- drivers/staging/unisys/visorbus/visorchipset.c 37 additions, 37 deletionsdrivers/staging/unisys/visorbus/visorchipset.c
Loading
Please register or sign in to comment