[PATCH v4 4/8] PCI: replace pci_dev::driver usage that gets the driver name

Kalle Valo kvalo at codeaurora.org
Tue Sep 28 18:28:15 AEST 2021


Uwe Kleine-König <uwe at kleine-koenig.org> writes:

> From: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
>
> struct pci_dev::driver holds (apart from a constant offset) the same
> data as struct pci_dev::dev->driver. With the goal to remove struct
> pci_dev::driver to get rid of data duplication replace getting the
> driver name by dev_driver_string() which implicitly makes use of struct
> pci_dev::dev->driver.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>  arch/powerpc/include/asm/ppc-pci.h                   | 9 ++++++++-
>  drivers/bcma/host_pci.c                              | 7 ++++---

For bcma:

Acked-by: Kalle Valo <kvalo at codeaurora.org>

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


More information about the Linuxppc-dev mailing list