Browse Source

ASoC: blackfin: drop owner assignment from platform_drivers

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>
Wolfram Sang 11 years ago
parent
commit
3316fd2554

+ 0 - 1
sound/soc/blackfin/bf5xx-ac97-pcm.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bf5xx-ac97.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bf5xx-ad1836.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bf5xx-i2s-pcm.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bf5xx-i2s.c

@@ -379,7 +379,6 @@ static struct platform_driver bfin_i2s_driver = {
 	.remove = bf5xx_i2s_remove,
 	.driver = {
 		.name = "bfin-i2s",
-		.owner = THIS_MODULE,
 	},
 };
 

+ 0 - 1
sound/soc/blackfin/bf6xx-i2s.c

@@ -229,7 +229,6 @@ static struct platform_driver bfin_i2s_driver = {
 	.remove = bfin_i2s_remove,
 	.driver = {
 		.name = "bfin-i2s",
-		.owner = THIS_MODULE,
 	},
 };
 

+ 0 - 1
sound/soc/blackfin/bfin-eval-adau1373.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bfin-eval-adau1701.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bfin-eval-adau1x61.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bfin-eval-adau1x81.c

@@ -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,

+ 0 - 1
sound/soc/blackfin/bfin-eval-adav80x.c

@@ -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,