summaryrefslogtreecommitdiff
path: root/drivers/parport
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@redhat.com>2019-09-02 12:21:36 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-02 12:07:46 -0700
commit136163618e3a9db403ef832ac32ab0b173ef503e (patch)
tree42624e95a5b35eff3b5cb01d55ad030bc64605b6 /drivers/parport
parent4ba0ebbc6cdecb9fad7c551a3d97b172ebc7b2fa (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>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions