diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-01-31 16:36:32 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-01-31 16:36:32 -0600 |
commit | e5c3b3e9f012b8862753a04f03c6e27344332718 (patch) | |
tree | b1568a46d8a8ccda8098e4966873eee32b435e26 /lib/crc32defs.h | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) | |
download | linux-stable-e5c3b3e9f012b8862753a04f03c6e27344332718.tar.gz linux-stable-e5c3b3e9f012b8862753a04f03c6e27344332718.tar.bz2 linux-stable-e5c3b3e9f012b8862753a04f03c6e27344332718.zip |
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 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions