ASoC: blackfin: 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/blackfin/bf5xx-ac97-pcm.c
sound/soc/blackfin/bf5xx-ac97.c
sound/soc/blackfin/bf5xx-ad1836.c
sound/soc/blackfin/bf5xx-i2s-pcm.c
sound/soc/blackfin/bf5xx-i2s.c
sound/soc/blackfin/bf6xx-i2s.c
sound/soc/blackfin/bfin-eval-adau1373.c
sound/soc/blackfin/bfin-eval-adau1701.c
sound/soc/blackfin/bfin-eval-adau1x61.c
sound/soc/blackfin/bfin-eval-adau1x81.c
sound/soc/blackfin/bfin-eval-adav80x.c

index cdb8ee7..238913e 100644 (file)
@@ -462,7 +462,6 @@ static int bf5xx_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver bf5xx_pcm_driver = {
        .driver = {
                        .name = "bfin-ac97-pcm-audio",
-                       .owner = THIS_MODULE,
        },
 
        .probe = bf5xx_soc_platform_probe,
index e82eb37..a47c08e 100644 (file)
@@ -375,7 +375,6 @@ static int asoc_bfin_ac97_remove(struct platform_device *pdev)
 static struct platform_driver asoc_bfin_ac97_driver = {
        .driver = {
                        .name = "bfin-ac97",
-                       .owner = THIS_MODULE,
        },
 
        .probe = asoc_bfin_ac97_probe,
index 8fcfc4e..5bf1501 100644 (file)
@@ -104,7 +104,6 @@ static int bf5xx_ad1836_driver_remove(struct platform_device *pdev)
 static struct platform_driver bf5xx_ad1836_driver = {
        .driver = {
                .name = "bfin-snd-ad1836",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bf5xx_ad1836_driver_probe,
index bcf5913..d95477a 100644 (file)
@@ -354,7 +354,6 @@ static int bfin_i2s_soc_platform_remove(struct platform_device *pdev)
 static struct platform_driver bfin_i2s_pcm_driver = {
        .driver = {
                .name = "bfin-i2s-pcm-audio",
-               .owner = THIS_MODULE,
        },
 
        .probe = bfin_i2s_soc_platform_probe,
index 39d7748..b69aeef 100644 (file)
@@ -379,7 +379,6 @@ static struct platform_driver bfin_i2s_driver = {
        .remove = bf5xx_i2s_remove,
        .driver = {
                .name = "bfin-i2s",
-               .owner = THIS_MODULE,
        },
 };
 
index 5810a06..bd3b4d4 100644 (file)
@@ -229,7 +229,6 @@ static struct platform_driver bfin_i2s_driver = {
        .remove = bfin_i2s_remove,
        .driver = {
                .name = "bfin-i2s",
-               .owner = THIS_MODULE,
        },
 };
 
index 4ef9683..523baf5 100644 (file)
@@ -169,7 +169,6 @@ static int bfin_eval_adau1373_remove(struct platform_device *pdev)
 static struct platform_driver bfin_eval_adau1373_driver = {
        .driver = {
                .name = "bfin-eval-adau1373",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bfin_eval_adau1373_probe,
index 3b55081..f9e926d 100644 (file)
@@ -109,7 +109,6 @@ static int bfin_eval_adau1701_remove(struct platform_device *pdev)
 static struct platform_driver bfin_eval_adau1701_driver = {
        .driver = {
                .name = "bfin-eval-adau1701",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bfin_eval_adau1701_probe,
index 3011906..4229f76 100644 (file)
@@ -129,7 +129,6 @@ static int bfin_eval_adau1x61_probe(struct platform_device *pdev)
 static struct platform_driver bfin_eval_adau1x61_driver = {
        .driver = {
                .name = "bfin-eval-adau1x61",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bfin_eval_adau1x61_probe,
index 5c380f6..3e01cbe 100644 (file)
@@ -117,7 +117,6 @@ static int bfin_eval_adau1x81_probe(struct platform_device *pdev)
 static struct platform_driver bfin_eval_adau1x81_driver = {
        .driver = {
                .name = "bfin-eval-adau1x81",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bfin_eval_adau1x81_probe,
index 3b1b61a..27eee66 100644 (file)
@@ -141,7 +141,6 @@ MODULE_DEVICE_TABLE(platform, bfin_eval_adav80x_ids);
 static struct platform_driver bfin_eval_adav80x_driver = {
        .driver = {
                .name = "bfin-eval-adav80x",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe = bfin_eval_adav80x_probe,