]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dma: sh: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:29 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:29 +0000 (16:20 +0200)
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>
drivers/dma/sh/rcar-audmapp.c
drivers/dma/sh/rcar-hpbdma.c
drivers/dma/sh/shdma-of.c
drivers/dma/sh/shdmac.c
drivers/dma/sh/sudmac.c

index 80fd2aeb4870f07f78214e2c554181d7bb6bc16d..02979d5199d09703242d6d955b2767f882d53e0b 100644 (file)
@@ -367,7 +367,6 @@ static struct platform_driver audmapp_driver = {
        .probe          = audmapp_probe,
        .remove         = audmapp_remove,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "rcar-audmapp-engine",
                .of_match_table = audmapp_of_match,
        },
index b212d9471ab5a55bd386a04678530fe8efa5ed66..fe83320d7b575178b0db86cc95dc1c514fbd9dbe 100644 (file)
@@ -655,7 +655,6 @@ static struct platform_driver hpb_dmae_driver = {
        .remove         = hpb_dmae_remove,
        .shutdown       = hpb_dmae_shutdown,
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "hpb-dma-engine",
        },
 };
index b4ff9d3e56d18561893f31522de0648273f72ace..f999f9b0d3145b08ac01e7be4a9b5f1eee2b4c88 100644 (file)
@@ -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,
        },
index 58eb85770eba8e07e16b9dab1da321bf318369e3..1b1d252f938ec2a864be9cec0e8b527a5540d1df 100644 (file)
@@ -925,7 +925,6 @@ static int sh_dmae_remove(struct platform_device *pdev)
 
 static struct platform_driver sh_dmae_driver = {
        .driver         = {
-               .owner  = THIS_MODULE,
                .pm     = &sh_dmae_pm,
                .name   = SH_DMAE_DRV_NAME,
                .of_match_table = sh_dmae_of_match,
index 3ce103909896b6202ea7bd75b79988005540dc7e..2d7a480aa749e0fc60eaf74bbff126cd24b1eba8 100644 (file)
@@ -411,7 +411,6 @@ static int sudmac_remove(struct platform_device *pdev)
 
 static struct platform_driver sudmac_driver = {
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = SUDMAC_DRV_NAME,
        },
        .probe          = sudmac_probe,