diff options
author | 2017-01-31 14:00:48 -0600 | |
---|---|---|
committer | 2017-02-03 15:01:14 -0600 | |
commit | 792e0a6814b63b120c6cfddf79a309046c6e840a (patch) | |
tree | 50e8b8cf79d0ae37d89c9a45f2e5629a2f11f8cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.10-rc1 (diff) | |
download | linux-rng-792e0a6814b63b120c6cfddf79a309046c6e840a.tar.xz linux-rng-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions