diff options
author | Kishon Vijay Abraham I <[email protected]> | 2017-02-15 18:48:11 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-02-21 15:00:26 -0600 |
commit | 9bcf0a6fdc5062e451cd6f1ab39045e142a5938f (patch) | |
tree | c71ca51419fff65f0fc9d34db8a6641df4103e31 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | b90dc392212d1153a12eea15cbc6eae352a3c989 (diff) |
PCI: dwc: all: Use platform_set_drvdata() to save private data
Add platform_set_drvdata() in all designware-based drivers to store the
private data structure of the driver so that dev_set_drvdata() can be used
to get back private data structure in add_pcie_port/host_init. This is in
preparation for splitting struct pcie_port into core and host only
structures. After the split pcie_port will not be part of the driver's
private data structure and *container_of* used now to get the private data
pointer cannot be used.
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
CC: Jingoo Han <[email protected]>
CC: Richard Zhu <[email protected]>
CC: Lucas Stach <[email protected]>
CC: Murali Karicheri <[email protected]>
CC: Minghuan Lian <[email protected]>
CC: Mingkai Hu <[email protected]>
CC: Roy Zang <[email protected]>
CC: Thomas Petazzoni <[email protected]>
CC: Niklas Cassel <[email protected]>
CC: Jesper Nilsson <[email protected]>
CC: Joao Pinto <[email protected]>
CC: Zhou Wang <[email protected]>
CC: Gabriele Paoloni <[email protected]>
CC: Stanimir Varbanov <[email protected]>
CC: Pratyush Anand <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions