Browse Source

ASoC: cirrus: 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 10 years ago
parent
commit
d0052ec305

+ 0 - 1
sound/soc/cirrus/edb93xx.c

@@ -113,7 +113,6 @@ static int edb93xx_remove(struct platform_device *pdev)
 static struct platform_driver edb93xx_driver = {
 static struct platform_driver edb93xx_driver = {
 	.driver		= {
 	.driver		= {
 		.name	= "edb93xx-audio",
 		.name	= "edb93xx-audio",
-		.owner	= THIS_MODULE,
 	},
 	},
 	.probe		= edb93xx_probe,
 	.probe		= edb93xx_probe,
 	.remove		= edb93xx_remove,
 	.remove		= edb93xx_remove,

+ 0 - 1
sound/soc/cirrus/ep93xx-ac97.c

@@ -439,7 +439,6 @@ static struct platform_driver ep93xx_ac97_driver = {
 	.remove	= ep93xx_ac97_remove,
 	.remove	= ep93xx_ac97_remove,
 	.driver = {
 	.driver = {
 		.name = "ep93xx-ac97",
 		.name = "ep93xx-ac97",
-		.owner = THIS_MODULE,
 	},
 	},
 };
 };
 
 

+ 0 - 1
sound/soc/cirrus/ep93xx-i2s.c

@@ -451,7 +451,6 @@ static struct platform_driver ep93xx_i2s_driver = {
 	.remove	= ep93xx_i2s_remove,
 	.remove	= ep93xx_i2s_remove,
 	.driver	= {
 	.driver	= {
 		.name	= "ep93xx-i2s",
 		.name	= "ep93xx-i2s",
-		.owner	= THIS_MODULE,
 	},
 	},
 };
 };
 
 

+ 0 - 1
sound/soc/cirrus/simone.c

@@ -74,7 +74,6 @@ static int simone_remove(struct platform_device *pdev)
 static struct platform_driver simone_driver = {
 static struct platform_driver simone_driver = {
 	.driver		= {
 	.driver		= {
 		.name	= "simone-audio",
 		.name	= "simone-audio",
-		.owner	= THIS_MODULE,
 	},
 	},
 	.probe		= simone_probe,
 	.probe		= simone_probe,
 	.remove		= simone_remove,
 	.remove		= simone_remove,

+ 0 - 1
sound/soc/cirrus/snappercl15.c

@@ -123,7 +123,6 @@ static int snappercl15_remove(struct platform_device *pdev)
 static struct platform_driver snappercl15_driver = {
 static struct platform_driver snappercl15_driver = {
 	.driver		= {
 	.driver		= {
 		.name	= "snappercl15-audio",
 		.name	= "snappercl15-audio",
-		.owner	= THIS_MODULE,
 	},
 	},
 	.probe		= snappercl15_probe,
 	.probe		= snappercl15_probe,
 	.remove		= snappercl15_remove,
 	.remove		= snappercl15_remove,