summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/cadence/pcie-cadence-plat.c
diff options
context:
space:
mode:
authorFan Fei <ffclaire1224@gmail.com>2021-12-22 19:10:33 -0600
committerBjorn Helgaas <bhelgaas@google.com>2022-01-03 15:00:55 -0600
commit7073f2ceca380bcba5caa2110e86d62fff6e430c (patch)
tree34f120f72e31a1a5220b7a361f1a5d5ec19e47be /drivers/pci/controller/cadence/pcie-cadence-plat.c
parentc31990dbeb78e435b541c27f6611134037f1f0ac (diff)
downloadlinux-7073f2ceca380bcba5caa2110e86d62fff6e430c.tar.bz2
PCI: artpec6: Prefer of_device_get_match_data()
The artpec6 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/20211223011054.1227810-3-helgaas@kernel.org Signed-off-by: Fan Fei <ffclaire1224@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'drivers/pci/controller/cadence/pcie-cadence-plat.c')
0 files changed, 0 insertions, 0 deletions