[U-Boot] [PATCH 4/5] pci: imx: Pass driver private data around

Bin Meng bmeng.cn at gmail.com
Fri May 17 23:04:25 UTC 2019


On Sat, May 18, 2019 at 2:26 AM Marek Vasut <marex at denx.de> wrote:
>
> 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 <marex at denx.de>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
>  drivers/pci/pcie_imx.c | 44 ++++++++++++++++++++++++------------------
>  1 file changed, 25 insertions(+), 19 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list