diff options
| author | Fan Fei <[email protected]> | 2021-12-23 01:10:35 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-01-03 21:01:09 +0000 |
| commit | 5c204204cf243136804b3a9da77d091e3f803668 (patch) | |
| tree | 4c3ea0ff23ef743ccd372a6972200155a30bbf68 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI: cadence: Prefer of_device_get_match_data() (diff) | |
| download | kernel-5c204204cf243136804b3a9da77d091e3f803668.tar.gz kernel-5c204204cf243136804b3a9da77d091e3f803668.zip | |
PCI: designware-plat: Prefer of_device_get_match_data()
The designware-plat driver only needs the device data, not the whole struct
of_device_id. Use of_device_get_match_data() instead of of_match_device().
No functional change intended.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Fan Fei <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Jingoo Han <[email protected]>
Cc: Gustavo Pimentel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
