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/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
..
api.c
base.c
context.c cxl: Fix couple of spellings 2021-03-24 08:26:30 +01:00
cxl.h
cxllib.c cxl: Reduce scope for the variable “mm” in cxllib_get_PE_attributes() 2021-01-31 22:35:50 +11:00
debugfs.c
fault.c cxl: don't manipulate the mm.mm_users field directly 2021-03-24 08:26:30 +01:00
file.c cxl: Fix an error message 2021-05-14 13:43:26 +02:00
flash.c misc: cxl: flash: Remove unused variable 'drc_index' 2020-07-10 14:55:24 +02:00
guest.c cxl: Use to_pci_driver() instead of pci_dev->driver 2021-10-18 09:20:15 -05:00
hcalls.c misc: cxl: hcalls: Demote half-assed kerneldoc attempt 2020-07-01 15:08:05 +02:00
hcalls.h
irq.c
Kconfig
main.c
Makefile
native.c
of.c
pci.c cxl: Use to_pci_driver() instead of pci_dev->driver 2021-10-18 09:20:15 -05:00
sysfs.c cxl: Simplify bool conversion 2021-02-04 17:02:18 +01:00
trace.c
trace.h
vphb.c cxl: Change PCIBIOS_SUCCESSFUL to 0 2020-07-13 15:39:52 +02:00