diff options
author | Fan Fei <ffclaire1224@gmail.com> | 2021-12-22 19:10:34 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-01-03 15:01:04 -0600 |
commit | 131748ad2939dfaf20b3178112dbd52591d39148 (patch) | |
tree | 014eebcd995b726830585962d71715dbe8bc51e9 /drivers/pci/controller/dwc/pci-keystone.c | |
parent | 7073f2ceca380bcba5caa2110e86d62fff6e430c (diff) |
PCI: cadence: Prefer of_device_get_match_data()
The cadence 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-4-helgaas@kernel.org
Signed-off-by: Fan Fei <ffclaire1224@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Tom Joseph <tjoseph@cadence.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions