[PATCH v2 5/6] PCI: Adapt all code locations to not use struct pci_dev::driver directly
Ido Schimmel
idosch at idosch.org
Wed Aug 4 00:46:05 AEST 2021
On Tue, Aug 03, 2021 at 12:01:49PM +0200, Uwe Kleine-König wrote:
> This prepares removing the driver member of struct pci_dev which holds the
> same information than 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 | 3 +-
> arch/powerpc/kernel/eeh_driver.c | 12 ++++---
> arch/x86/events/intel/uncore.c | 2 +-
> arch/x86/kernel/probe_roms.c | 2 +-
> drivers/bcma/host_pci.c | 6 ++--
> drivers/crypto/hisilicon/qm.c | 2 +-
> drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
> drivers/message/fusion/mptbase.c | 4 +--
> drivers/misc/cxl/guest.c | 21 +++++------
> drivers/misc/cxl/pci.c | 25 +++++++------
> .../ethernet/hisilicon/hns3/hns3_ethtool.c | 2 +-
> .../ethernet/marvell/prestera/prestera_pci.c | 2 +-
> drivers/net/ethernet/mellanox/mlxsw/pci.c | 2 +-
> .../ethernet/netronome/nfp/nfp_net_ethtool.c | 2 +-
> drivers/pci/iov.c | 23 +++++++-----
> drivers/pci/pci-driver.c | 28 ++++++++-------
> drivers/pci/pci.c | 10 +++---
> drivers/pci/pcie/err.c | 35 ++++++++++---------
> drivers/pci/xen-pcifront.c | 3 +-
> drivers/ssb/pcihost_wrapper.c | 7 ++--
> drivers/usb/host/xhci-pci.c | 3 +-
> 21 files changed, 112 insertions(+), 84 deletions(-)
For mlxsw:
Tested-by: Ido Schimmel <idosch at nvidia.com>
More information about the Linuxppc-dev
mailing list