diff options
| author | Chuhong Yuan <[email protected]> | 2019-07-23 19:49:28 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-07-25 14:02:00 -0300 |
| commit | 4f96061b92da395ecd5325a87368670e1b1a7cc9 (patch) | |
| tree | f922fc890175f54b4427e61e8bb987205fb1fb16 /tools/perf/scripts/python | |
| parent | 39289bfc221423b27570e7c9157b690828e786cb (diff) | |
IB/usnic: Use dev_get_drvdata
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make
the code simpler.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Chuhong Yuan <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions