commit | 136163618e3a9db403ef832ac32ab0b173ef503e | [log] [tgz] |
---|---|---|
author | Matteo Croce <mcroce@redhat.com> | Mon Sep 02 12:21:36 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 02 12:07:46 2019 -0700 |
tree | 42624e95a5b35eff3b5cb01d55ad030bc64605b6 | |
parent | 4ba0ebbc6cdecb9fad7c551a3d97b172ebc7b2fa [diff] |
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>