Browse Source

ASoC: ux500: 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
c9e2faeb20
2 changed files with 0 additions and 2 deletions
  1. 0 1
      sound/soc/ux500/mop500.c
  2. 0 1
      sound/soc/ux500/ux500_msp_dai.c

+ 0 - 1
sound/soc/ux500/mop500.c

@@ -159,7 +159,6 @@ static const struct of_device_id snd_soc_mop500_match[] = {
 
 static struct platform_driver snd_soc_mop500_driver = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "snd-soc-mop500",
 		.of_match_table = snd_soc_mop500_match,
 	},

+ 0 - 1
sound/soc/ux500/ux500_msp_dai.c

@@ -856,7 +856,6 @@ static const struct of_device_id ux500_msp_i2s_match[] = {
 static struct platform_driver msp_i2s_driver = {
 	.driver = {
 		.name = "ux500-msp-i2s",
-		.owner = THIS_MODULE,
 		.of_match_table = ux500_msp_i2s_match,
 	},
 	.probe = ux500_msp_drv_probe,