summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorShailendra Verma <shailendra.v@samsung.com>2017-01-31 14:00:48 -0600
committerBjorn Helgaas <bhelgaas@google.com>2017-02-03 15:01:14 -0600
commit792e0a6814b63b120c6cfddf79a309046c6e840a (patch)
tree50e8b8cf79d0ae37d89c9a45f2e5629a2f11f8cf /scripts/gdb/linux/modules.py
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions