ASoC: cirrus: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:05 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:05 +0000 (16:22 +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>
sound/soc/cirrus/edb93xx.c
sound/soc/cirrus/ep93xx-ac97.c
sound/soc/cirrus/ep93xx-i2s.c
sound/soc/cirrus/simone.c
sound/soc/cirrus/snappercl15.c

index 4f900efc437c7ac136ecc3ed35ab3969c059d035..85962657aabe02bc72db1ba50a3f0b195e05da08 100644 (file)
@@ -113,7 +113,6 @@ static int edb93xx_remove(struct platform_device *pdev)
 static struct platform_driver edb93xx_driver = {
        .driver         = {
                .name   = "edb93xx-audio",
-               .owner  = THIS_MODULE,
        },
        .probe          = edb93xx_probe,
        .remove         = edb93xx_remove,
index f30dadf85b9963a71629df4be96ec8f1fb05c3bb..4e382a3dd38b8303132f5f4fed00d08dfaf9ab8f 100644 (file)
@@ -439,7 +439,6 @@ static struct platform_driver ep93xx_ac97_driver = {
        .remove = ep93xx_ac97_remove,
        .driver = {
                .name = "ep93xx-ac97",
-               .owner = THIS_MODULE,
        },
 };
 
index 943145f9d1b6f4a6ce521e99197baadc0fc2ba8c..934f8aefdd90b8f94beda83dc82393d4091e4aec 100644 (file)
@@ -451,7 +451,6 @@ static struct platform_driver ep93xx_i2s_driver = {
        .remove = ep93xx_i2s_remove,
        .driver = {
                .name   = "ep93xx-i2s",
-               .owner  = THIS_MODULE,
        },
 };
 
index 822a19a89e742e96d28b29a22f28a74d9c4a9298..1ec661834e5a82c77385caa96f154333e9e03cfc 100644 (file)
@@ -74,7 +74,6 @@ static int simone_remove(struct platform_device *pdev)
 static struct platform_driver simone_driver = {
        .driver         = {
                .name   = "simone-audio",
-               .owner  = THIS_MODULE,
        },
        .probe          = simone_probe,
        .remove         = simone_remove,
index 5b68b106cfc2161c95f5c1b1845d8646b152945f..98089df08df62e6c738f95b08c204be10970598e 100644 (file)
@@ -123,7 +123,6 @@ static int snappercl15_remove(struct platform_device *pdev)
 static struct platform_driver snappercl15_driver = {
        .driver         = {
                .name   = "snappercl15-audio",
-               .owner  = THIS_MODULE,
        },
        .probe          = snappercl15_probe,
        .remove         = snappercl15_remove,