aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
authorFan Fei <[email protected]>2021-12-23 01:10:37 +0000
committerBjorn Helgaas <[email protected]>2022-01-03 21:01:23 +0000
commit39a29fbd4e3123f77cfd7df1d1597e70e372361a (patch)
tree2e4764979cb1005f5513d1386a33036513d117f2 /drivers/pci/controller/dwc/pci-layerscape.c
parentPCI: dra7xx: Prefer of_device_get_match_data() (diff)
downloadkernel-39a29fbd4e3123f77cfd7df1d1597e70e372361a.tar.gz
kernel-39a29fbd4e3123f77cfd7df1d1597e70e372361a.zip
PCI: keystone: Prefer of_device_get_match_data()
The keystone 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: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions