summaryrefslogtreecommitdiffstats
path: root/drivers/dma/bcm2835-dma.c
diff options
context:
space:
mode:
authorKiran Padwal <kiran.padwal@smartplayin.com>2014-09-24 12:09:23 +0530
committerVinod Koul <vinod.koul@intel.com>2014-11-06 11:54:18 +0530
commitcd166280b7a1d74248897b48aea39217015ee8c2 (patch)
tree63d161f026d388f781626dc0a5b8b9d9ddbe17eb /drivers/dma/bcm2835-dma.c
parent1eacd4438f361256f5a524ef603f536e2c885100 (diff)
downloadtalos-op-linux-cd166280b7a1d74248897b48aea39217015ee8c2.tar.gz
talos-op-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/bcm2835-dma.c')
-rw-r--r--drivers/dma/bcm2835-dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
index def66fbbb7f3..918b7b3f766f 100644
--- a/drivers/dma/bcm2835-dma.c
+++ b/drivers/dma/bcm2835-dma.c
@@ -692,7 +692,6 @@ static struct platform_driver bcm2835_dma_driver = {
.remove = bcm2835_dma_remove,
.driver = {
.name = "bcm2835-dma",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(bcm2835_dma_of_match),
},
};
OpenPOWER on IntegriCloud