diff options
author | 2019-09-02 12:21:36 +0200 | |
---|---|---|
committer | 2019-09-02 12:07:46 -0700 | |
commit | 136163618e3a9db403ef832ac32ab0b173ef503e (patch) | |
tree | 42624e95a5b35eff3b5cb01d55ad030bc64605b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: Fix off-by-one number of calls to devlink_port_unregister (diff) | |
download | wireguard-linux-136163618e3a9db403ef832ac32ab0b173ef503e.tar.xz wireguard-linux-136163618e3a9db403ef832ac32ab0b173ef503e.zip |
mvpp2: refactor BM pool functions
Refactor mvpp2_bm_pool_create(), mvpp2_bm_pool_destroy() and
mvpp2_bm_pools_init() so that they accept a struct device instead
of a struct platform_device, as they just need platform_device->dev.
Removing such dependency makes the BM code more reusable in context
where we don't have a pointer to the platform_device.
Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions