ASoC: pxa: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:11 +0000 (16:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:22:11 +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>
18 files changed:
sound/soc/pxa/brownstone.c
sound/soc/pxa/corgi.c
sound/soc/pxa/e740_wm9705.c
sound/soc/pxa/e750_wm9705.c
sound/soc/pxa/e800_wm9712.c
sound/soc/pxa/hx4700.c
sound/soc/pxa/imote2.c
sound/soc/pxa/mioa701_wm9713.c
sound/soc/pxa/mmp-pcm.c
sound/soc/pxa/mmp-sspa.c
sound/soc/pxa/palm27x.c
sound/soc/pxa/poodle.c
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c
sound/soc/pxa/pxa2xx-pcm.c
sound/soc/pxa/tosa.c
sound/soc/pxa/ttc-dkb.c

index c8dd53f9c35dab262eaa0bb64c2d123910d421de..79936e3e80e70d18737189ae68328711c23dc84a 100644 (file)
@@ -155,7 +155,6 @@ static int brownstone_remove(struct platform_device *pdev)
 static struct platform_driver mmp_driver = {
        .driver         = {
                .name   = "brownstone-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = brownstone_probe,
index 5a88136aa800bc827db543543aa018f701002d14..b7cd0a71fd707bc2d27807a4813be4f0025d762b 100644 (file)
@@ -327,7 +327,6 @@ static int corgi_remove(struct platform_device *pdev)
 static struct platform_driver corgi_driver = {
        .driver         = {
                .name   = "corgi-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = corgi_probe,
index c29fedab2f49abb225a67c07e2e8659826aec7a1..7c691aae8af29f4307a2a1c5be4ef4df47747ed0 100644 (file)
@@ -177,7 +177,6 @@ static int e740_remove(struct platform_device *pdev)
 static struct platform_driver e740_driver = {
        .driver         = {
                .name   = "e740-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = e740_probe,
index ee36aba88063aa7db6cd498dbb6a3341e3f3ea47..30544b65b5a812a6f62f9de1757900a2c929af05 100644 (file)
@@ -159,7 +159,6 @@ static int e750_remove(struct platform_device *pdev)
 static struct platform_driver e750_driver = {
        .driver         = {
                .name   = "e750-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = e750_probe,
index 24c2078ce70b2a97e05d7b63fa7d1a98da8498a3..45d4bd46fff60d08dbda013b5e7b8f8cefd1851e 100644 (file)
@@ -140,7 +140,6 @@ static int e800_remove(struct platform_device *pdev)
 static struct platform_driver e800_driver = {
        .driver         = {
                .name   = "e800-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = e800_probe,
index 05559a725bec22ed16664c8a08493108c9ed298b..ce26551052a325eb7f8f496b6679d422db71e398 100644 (file)
@@ -226,7 +226,6 @@ static int hx4700_audio_remove(struct platform_device *pdev)
 static struct platform_driver hx4700_audio_driver = {
        .driver = {
                .name = "hx4700-audio",
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
        },
        .probe  = hx4700_audio_probe,
index fd2f4eda1fd3f88d3945168f26fc6f5c57616506..29fabbfd21f1796cd91142c0e99d7addfcc5f924 100644 (file)
@@ -90,7 +90,6 @@ static int imote2_remove(struct platform_device *pdev)
 static struct platform_driver imote2_driver = {
        .driver         = {
                .name   = "imote2-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = imote2_probe,
index 595eee341e90b6910d60348fdae5e970e0854fa6..0d746cc880c1234340a913fe29fa8602727ff0e6 100644 (file)
@@ -205,7 +205,6 @@ static struct platform_driver mioa701_wm9713_driver = {
        .remove         = mioa701_wm9713_remove,
        .driver         = {
                .name           = "mioa701-wm9713",
-               .owner          = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
 };
index 64e8b949a1a3b10b1770dfcdda82e045235efeb4..1eb45dcfb8e848c2c4c26125fd30d1053486ce4e 100644 (file)
@@ -244,7 +244,6 @@ static int mmp_pcm_remove(struct platform_device *pdev)
 static struct platform_driver mmp_pcm_driver = {
        .driver = {
                .name = "mmp-pcm-audio",
-               .owner = THIS_MODULE,
        },
 
        .probe = mmp_pcm_probe,
index 5bf5f1f7cac5013f461657e0487687ce597a485b..eca60c29791a33200c7056ea22e8bf28aa6bac42 100644 (file)
@@ -472,7 +472,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev)
 static struct platform_driver asoc_mmp_sspa_driver = {
        .driver = {
                .name = "mmp-sspa-dai",
-               .owner = THIS_MODULE,
        },
        .probe = asoc_mmp_sspa_probe,
        .remove = asoc_mmp_sspa_remove,
index 17f9521ff6ea2bb4c7f8733a44081e9033ccb4fc..1eebca2f0a97e9356c09273e1c94eed1ef7da14d 100644 (file)
@@ -172,7 +172,6 @@ static struct platform_driver palm27x_wm9712_driver = {
        .remove         = palm27x_asoc_remove,
        .driver         = {
                .name           = "palm27x-asoc",
-               .owner          = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
 };
index 21f340065318599afce2b823f6463718f5c323e4..0fce8c420e969bf9f885729e6db2e5cb18a70507 100644 (file)
@@ -296,7 +296,6 @@ static int poodle_remove(struct platform_device *pdev)
 static struct platform_driver poodle_driver = {
        .driver         = {
                .name   = "poodle-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = poodle_probe,
index a8e0974330749f86c894ce520ff43d7c4d0960cc..020b79a23f9299263f093355617421f00c531ce1 100644 (file)
@@ -826,7 +826,6 @@ static int asoc_ssp_remove(struct platform_device *pdev)
 static struct platform_driver asoc_ssp_driver = {
        .driver = {
                .name = "pxa-ssp-dai",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(pxa_ssp_of_ids),
        },
 
index ae956e3f4b9dbfb0aea905e74b4c06cc25217291..9455314e128175616c710b7808a73c4438f70111 100644 (file)
@@ -261,7 +261,6 @@ static struct platform_driver pxa2xx_ac97_driver = {
        .remove         = pxa2xx_ac97_dev_remove,
        .driver         = {
                .name   = "pxa2xx-ac97",
-               .owner  = THIS_MODULE,
 #ifdef CONFIG_PM_SLEEP
                .pm     = &pxa2xx_ac97_pm_ops,
 #endif
index c0d648d3339f2ab75c622cedd91f7af78e00b40f..e68290c15328abe7f2c48c8f7187a65fd8b3bcc4 100644 (file)
@@ -383,7 +383,6 @@ static struct platform_driver pxa2xx_i2s_driver = {
 
        .driver = {
                .name = "pxa2xx-i2s",
-               .owner = THIS_MODULE,
        },
 };
 
index 42f2f0175981ad5d3867b88ac64d14e2b3dc5c99..a51c9da66614932bfab865d5e39635bfbe36a353 100644 (file)
@@ -143,7 +143,6 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = {
 static struct platform_driver pxa_pcm_driver = {
        .driver = {
                .name = "pxa-pcm-audio",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(snd_soc_pxa_audio_match),
        },
 
index 4a956d1cb26960a23bb77eea839908d608b56677..cb49284e853ad794154468258e926f62194073aa 100644 (file)
@@ -265,7 +265,6 @@ static int tosa_remove(struct platform_device *pdev)
 static struct platform_driver tosa_driver = {
        .driver         = {
                .name   = "tosa-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = tosa_probe,
index 9d7c5b7e95399478b82c0f03d976a87aef9c6ca9..e3d7257ad09ca1fa115c674d0d75eb6abae653e7 100644 (file)
@@ -155,7 +155,6 @@ static int ttc_dkb_remove(struct platform_device *pdev)
 static struct platform_driver ttc_dkb_driver = {
        .driver         = {
                .name   = "ttc-dkb-audio",
-               .owner  = THIS_MODULE,
                .pm     = &snd_soc_pm_ops,
        },
        .probe          = ttc_dkb_probe,