dmaengine: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Tue, 13 Jan 2015 16:46:48 +0000 (17:46 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Jan 2015 17:35:04 +0000 (23:05 +0530)
This platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c

index b60d77a22df673c25cf72259ad3be6f7416b19d6..1c4c96b7e2bf84385af65c7f0f04b58e190eebab 100644 (file)
@@ -1507,7 +1507,6 @@ static struct platform_driver at_xdmac_driver = {
        .remove         = at_xdmac_remove,
        .driver = {
                .name           = "at_xdmac",
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(atmel_xdmac_dt_ids),
                .pm             = &atmel_xdmac_dev_pm_ops,
        }