summaryrefslogtreecommitdiffstats
path: root/drivers/pci/dwc
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-01-31 23:36:11 +0100
committerBjorn Helgaas <bhelgaas@google.com>2017-01-31 23:36:11 +0100
commit6dc2c04fd9868a5ad00b402935021d6f3ff27b17 (patch)
treee7f9494e404cbe2d8cec1d6f644bae8428361b5c /drivers/pci/dwc
parentLinux 4.10-rc1 (diff)
downloadlinux-6dc2c04fd9868a5ad00b402935021d6f3ff27b17.tar.xz
linux-6dc2c04fd9868a5ad00b402935021d6f3ff27b17.zip
PCI: layerscape: Use of_device_get_match_data() to simplify probe
The only way to call ls_pcie_probe() is to match an entry in ls_pcie_of_match[], so match cannot be NULL. Use of_device_get_match_data() to retrieve the drvdata pointer. No functional change intended. Based-on-suggestion-from: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/dwc')
0 files changed, 0 insertions, 0 deletions