summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-02-01 01:36:32 +0300
committerBjorn Helgaas <bhelgaas@google.com>2017-02-01 01:36:32 +0300
commite5c3b3e9f012b8862753a04f03c6e27344332718 (patch)
treeb1568a46d8a8ccda8098e4966873eee32b435e26 /drivers/spi
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
downloadlinux-e5c3b3e9f012b8862753a04f03c6e27344332718.tar.xz
PCI: iproc: Use of_device_get_match_data() to simplify probe
The only way to call iproc_pcie_pltfm_probe() is to match an entry in iproc_pcie_of_match_table[], so match cannot be NULL. Use of_device_get_match_data() to retrieve the pcie->type. 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/spi')
0 files changed, 0 insertions, 0 deletions