pci: imx: Pass driver private data around
authorMarek Vasut <[email protected]>
Sun, 9 Jun 2019 01:50:54 +0000 (03:50 +0200)
committerStefano Babic <[email protected]>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commitd2cc2e86f8e12393f2adf47c9a8694475e92e05a
treef2e997acc0b7674cb435c8927a87531fa2aff4d7
parent90f87fb5258c57bbb8497ac23454e659169483e4
pci: imx: Pass driver private data around

Pass the driver private data around the driver as much as possible, instead
of having it as a static global variable. This is done in preparation for
the DM conversion, no functional change.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
drivers/pci/pcie_imx.c