dma: sh: drop owner assignment from platform_drivers

A 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>
This commit is contained in:
Wolfram Sang 2014-10-20 16:20:29 +02:00
parent 278559f695
commit 696f26e740
5 changed files with 0 additions and 5 deletions

View File

@ -367,7 +367,6 @@ static struct platform_driver audmapp_driver = {
.probe = audmapp_probe, .probe = audmapp_probe,
.remove = audmapp_remove, .remove = audmapp_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "rcar-audmapp-engine", .name = "rcar-audmapp-engine",
.of_match_table = audmapp_of_match, .of_match_table = audmapp_of_match,
}, },

View File

@ -655,7 +655,6 @@ static struct platform_driver hpb_dmae_driver = {
.remove = hpb_dmae_remove, .remove = hpb_dmae_remove,
.shutdown = hpb_dmae_shutdown, .shutdown = hpb_dmae_shutdown,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "hpb-dma-engine", .name = "hpb-dma-engine",
}, },
}; };

View File

@ -66,7 +66,6 @@ MODULE_DEVICE_TABLE(of, sh_dmae_of_match);
static struct platform_driver shdma_of = { static struct platform_driver shdma_of = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "shdma-of", .name = "shdma-of",
.of_match_table = shdma_of_match, .of_match_table = shdma_of_match,
}, },

View File

@ -925,7 +925,6 @@ static int sh_dmae_remove(struct platform_device *pdev)
static struct platform_driver sh_dmae_driver = { static struct platform_driver sh_dmae_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.pm = &sh_dmae_pm, .pm = &sh_dmae_pm,
.name = SH_DMAE_DRV_NAME, .name = SH_DMAE_DRV_NAME,
.of_match_table = sh_dmae_of_match, .of_match_table = sh_dmae_of_match,

View File

@ -411,7 +411,6 @@ static int sudmac_remove(struct platform_device *pdev)
static struct platform_driver sudmac_driver = { static struct platform_driver sudmac_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = SUDMAC_DRV_NAME, .name = SUDMAC_DRV_NAME,
}, },
.probe = sudmac_probe, .probe = sudmac_probe,