linux/drivers/pci/pcie
Uwe Kleine-König 2a4d9408c9 PCI: Use to_pci_driver() instead of pci_dev->driver
Struct pci_driver contains a struct device_driver, so for PCI devices, it's
easy to convert a device_driver * to a pci_driver * with to_pci_driver().
The device_driver * is in struct device, so we don't need to also keep
track of the pci_driver * in struct pci_dev.

Replace pci_dev->driver with to_pci_driver().  This is a step toward
removing pci_dev->driver.

[bhelgaas: split to separate patch]
Link: https://lore.kernel.org/r/20211004125935.2300113-11-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2021-10-18 09:20:15 -05:00
..
aer_inject.c PCI/AER: Add RCEC AER error injection support 2020-12-05 15:26:02 -06:00
aer.c PCI: Change the type of probe argument in reset functions 2021-08-18 17:32:42 -05:00
aspm.c PCI/sysfs: Use sysfs_emit() and sysfs_emit_at() in "show" functions 2021-06-03 22:14:47 -05:00
dpc.c PCI: pciehp: Ignore Link Down/Up caused by DPC 2021-06-16 17:16:57 -05:00
edr.c PCI/EDR: Log only ACPI_NOTIFY_DISCONNECT_RECOVER events 2020-04-24 18:33:29 -05:00
err.c PCI: Use to_pci_driver() instead of pci_dev->driver 2021-10-18 09:20:15 -05:00
Kconfig PCI/LINK: Remove bandwidth notification 2021-02-02 14:25:11 -06:00
Makefile PCI/LINK: Remove bandwidth notification 2021-02-02 14:25:11 -06:00
pme.c PCI: Fix kernel-doc errors 2021-03-11 17:37:20 -06:00
portdrv_core.c PCI/portdrv: Enable Bandwidth Notification only if port supports it 2021-08-31 14:07:01 -05:00
portdrv_pci.c Merge branch 'pci/link' 2021-02-24 14:59:18 -06:00
portdrv.h PCI/LINK: Remove bandwidth notification 2021-02-02 14:25:11 -06:00
ptm.c pci-v5.15-changes 2021-09-07 19:13:42 -07:00
rcec.c PCI/RCEC: Fix RCiEP device to RCEC association 2021-03-10 15:10:46 -06:00