OSDN Git Service

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 4f900ef..8596265 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 f30dadf..4e382a3 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 943145f..934f8ae 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 822a19a..1ec6618 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 5b68b10..98089df 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,