Files
erofs-linux/drivers/misc/cxl
Uwe Kleine-König 16bd44e54d cxl: 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 pdev->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/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
2021-10-18 09:20:15 -05:00
..
…
…
2021-03-24 08:26:30 +01:00
…
…
2021-05-14 13:43:26 +02:00
…
…
…
…
…
…
…
2021-02-04 17:02:18 +01:00
…
…
2020-07-13 15:39:52 +02:00