diff options
| author | Bjorn Helgaas <[email protected]> | 2017-01-31 16:36:11 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2017-01-31 16:36:11 -0600 |
| commit | 6dc2c04fd9868a5ad00b402935021d6f3ff27b17 (patch) | |
| tree | e7f9494e404cbe2d8cec1d6f644bae8428361b5c /tools/lib/api/fd/array.c | |
| parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) | |
PCI: layerscape: Use of_device_get_match_data() to simplify probe
The only way to call ls_pcie_probe() is to match an entry in
ls_pcie_of_match[], so match cannot be NULL.
Use of_device_get_match_data() to retrieve the drvdata pointer. No
functional change intended.
Based-on-suggestion-from: Geert Uytterhoeven <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions