diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-24 08:39:23 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-11-06 07:24:18 +0100 |
commit | cd166280b7a1d74248897b48aea39217015ee8c2 (patch) | |
tree | 63d161f026d388f781626dc0a5b8b9d9ddbe17eb /drivers/dma/cppi41.c | |
parent | dmaengine: sun6i: Remove chancnt affectations (diff) | |
download | linux-cd166280b7a1d74248897b48aea39217015ee8c2.tar.xz linux-cd166280b7a1d74248897b48aea39217015ee8c2.zip |
dmaengine: Remove .owner field for driver
There is no need to init .owner field.
Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"
This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
[for nvidia]
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/cppi41.c')
-rw-r--r-- | drivers/dma/cppi41.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c index a58eec3b2cad..cf7633f6d474 100644 --- a/drivers/dma/cppi41.c +++ b/drivers/dma/cppi41.c @@ -1088,7 +1088,6 @@ static struct platform_driver cpp41_dma_driver = { .remove = cppi41_dma_remove, .driver = { .name = "cppi41-dma-engine", - .owner = THIS_MODULE, .pm = &cppi41_pm_ops, .of_match_table = of_match_ptr(cppi41_dma_ids), }, |