diff options
author | Shailendra Verma <shailendra.v@samsung.com> | 2017-01-31 21:00:48 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-02-03 22:01:14 +0100 |
commit | 792e0a6814b63b120c6cfddf79a309046c6e840a (patch) | |
tree | 50e8b8cf79d0ae37d89c9a45f2e5629a2f11f8cf /Documentation/devicetree/bindings/pci/hisilicon-pcie.txt | |
parent | Linux 4.10-rc1 (diff) | |
download | linux-792e0a6814b63b120c6cfddf79a309046c6e840a.tar.xz linux-792e0a6814b63b120c6cfddf79a309046c6e840a.zip |
PCI: hisi: Use of_device_get_match_data() to simplify probe
The only way to call hisi_pcie_probe() is to match an entry in
hisi_pcie_of_match[], so match cannot be NULL.
Use of_device_get_match_data() to retrieve the soc_ops pointer. No
functional change intended.
[bhelgaas: use of_device_get_match_data(), changelog]
Based-on-suggestion-from: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Shailendra Verma <shailendra.v@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pci/hisilicon-pcie.txt')
0 files changed, 0 insertions, 0 deletions