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 cdb8ee75ded924de68bbf33b168af3489c0fadcc..238913e030e052955c2b95b6ea9b0a6e5d9b3d13 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 e82eb373a731402cb60699881aca15a84577f72f..a47c08ece0829c74dab2b5cb066aaa05822c9e90 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 8fcfc4ec3a51d5009b9a747a5d48daf513d791eb..5bf1501e5e3c4833cbebf2f5afe4b8fde1cc216f 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 bcf591373a7a0faf0cc0a9233b561c21a7564153..d95477afcc671fbba088781f3657638e8015f0be 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 39d774839b3ec064758604fbac83d5bfed2755bc..b69aeef6418e27b88f958d1d40160eab1ef212c2 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 5810a0603f2f1eb17ef5eece60d97ba7f6687e04..bd3b4d4641451a1c35a5abef5e2e212ee27e5685 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 4ef9683bcad89c95906c5bf638ea2b73fc08edd6..523baf5820d737113e3ba17536a788026cf62137 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 3b55081a96c0f83bf63b10e031964ff42e644734..f9e926dfd4ef735af9e84f9e35363a1670e61421 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 3011906f9d3b41fc71170dd6b35866ce7ed2343d..4229f76daec9f1eead184dee6cce816e11033674 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 5c380f6aed1a78d2516d65210e88a473b79631d5..3e01cbe53fc717abbaa3a0e498164731b80ce09a 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 3b1b61a4481571960bda090c7342b2a465a7f9ea..27eee66afdb26536aeb41d50e1b29e542bf6b0c5 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,