diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-24 02:39:23 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-11-06 01:24:18 -0500 |
commit | cd166280b7a1d74248897b48aea39217015ee8c2 (patch) | |
tree | 63d161f026d388f781626dc0a5b8b9d9ddbe17eb /drivers/dma/s3c24xx-dma.c | |
parent | 1eacd4438f361256f5a524ef603f536e2c885100 (diff) |
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/s3c24xx-dma.c')
-rw-r--r-- | drivers/dma/s3c24xx-dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 7416572d1e40..6941a77521c3 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers/dma/s3c24xx-dma.c | |||
@@ -1402,7 +1402,6 @@ static int s3c24xx_dma_remove(struct platform_device *pdev) | |||
1402 | static struct platform_driver s3c24xx_dma_driver = { | 1402 | static struct platform_driver s3c24xx_dma_driver = { |
1403 | .driver = { | 1403 | .driver = { |
1404 | .name = "s3c24xx-dma", | 1404 | .name = "s3c24xx-dma", |
1405 | .owner = THIS_MODULE, | ||
1406 | }, | 1405 | }, |
1407 | .id_table = s3c24xx_dma_driver_ids, | 1406 | .id_table = s3c24xx_dma_driver_ids, |
1408 | .probe = s3c24xx_dma_probe, | 1407 | .probe = s3c24xx_dma_probe, |