Searched hist:"5 c204204cf243136804b3a9da77d091e3f803668" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware-plat.c | diff 5c204204cf243136804b3a9da77d091e3f803668 Wed Dec 22 19:10:35 CST 2021 Fan Fei <ffclaire1224@gmail.com> 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/20211223011054.1227810-5-helgaas@kernel.org Signed-off-by: Fan Fei <ffclaire1224@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Jingoo Han <jingoohan1@gmail.com> Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
|