aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorFan Fei <[email protected]>2021-12-22 19:10:32 -0600
committerBjorn Helgaas <[email protected]>2022-01-03 15:00:47 -0600
commitc31990dbeb78e435b541c27f6611134037f1f0ac (patch)
treede2098ec5b68fb78fb1a5bb36f44102ed24fe00b /drivers/pci/controller/dwc
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
PCI: altera: Prefer of_device_get_match_data()
The altera 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: Joyce Ooi <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions