diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-24 12:09:23 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-11-06 11:54:18 +0530 |
commit | cd166280b7a1d74248897b48aea39217015ee8c2 (patch) | |
tree | 63d161f026d388f781626dc0a5b8b9d9ddbe17eb /drivers/dma/timb_dma.c | |
parent | 1eacd4438f361256f5a524ef603f536e2c885100 (diff) | |
download | linux-cd166280b7a1d74248897b48aea39217015ee8c2.tar.bz2 |
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/timb_dma.c')
-rw-r--r-- | drivers/dma/timb_dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c index 4506a7b4f972..2407ccf1a64b 100644 --- a/drivers/dma/timb_dma.c +++ b/drivers/dma/timb_dma.c @@ -783,7 +783,6 @@ static int td_remove(struct platform_device *pdev) static struct platform_driver td_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, }, .probe = td_probe, .remove = td_remove, |