diff options
| author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-24 19:26:34 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-07-24 11:44:46 -0700 |
| commit | 7bdb9234952b08b1f86927eab4adbf6609d4444a (patch) | |
| tree | 68322831f54f93903eec5dafc5a359f5d478a6c7 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | f876a784292bd6f787035db73e2c2f0556e64b25 (diff) | |
| download | linux-7bdb9234952b08b1f86927eab4adbf6609d4444a.tar.gz linux-7bdb9234952b08b1f86927eab4adbf6609d4444a.zip | |
net: marvell: Use dev_get_drvdata where possible
Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
