summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/shdma-of.c
diff options
context:
space:
mode:
authorKiran Padwal2014-09-24 08:39:23 +0200
committerVinod Koul2014-11-06 07:24:18 +0100
commitcd166280b7a1d74248897b48aea39217015ee8c2 (patch)
tree63d161f026d388f781626dc0a5b8b9d9ddbe17eb /drivers/dma/sh/shdma-of.c
parentdmaengine: sun6i: Remove chancnt affectations (diff)
downloadkernel-qcow2-linux-cd166280b7a1d74248897b48aea39217015ee8c2.tar.gz
kernel-qcow2-linux-cd166280b7a1d74248897b48aea39217015ee8c2.tar.xz
kernel-qcow2-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/sh/shdma-of.c')
-rw-r--r--drivers/dma/sh/shdma-of.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/sh/shdma-of.c b/drivers/dma/sh/shdma-of.c
index b4ff9d3e56d1..f999f9b0d314 100644
--- a/drivers/dma/sh/shdma-of.c
+++ b/drivers/dma/sh/shdma-of.c
@@ -66,7 +66,6 @@ MODULE_DEVICE_TABLE(of, sh_dmae_of_match);
static struct platform_driver shdma_of = {
.driver = {
- .owner = THIS_MODULE,
.name = "shdma-of",
.of_match_table = shdma_of_match,
},