diff options
author | Matteo Croce <mcroce@redhat.com> | 2019-09-02 12:21:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-02 12:07:46 -0700 |
commit | 136163618e3a9db403ef832ac32ab0b173ef503e (patch) | |
tree | 42624e95a5b35eff3b5cb01d55ad030bc64605b6 /drivers/input | |
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>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions