Przeglądaj źródła

ALSA: mips: 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 lat temu
rodzic
commit
0d3d8be84a
2 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 1
      sound/mips/hal2.c
  2. 0 1
      sound/mips/sgio2audio.c

+ 0 - 1
sound/mips/hal2.c

@@ -929,7 +929,6 @@ static struct platform_driver hal2_driver = {
 	.remove	= hal2_remove,
 	.remove	= hal2_remove,
 	.driver = {
 	.driver = {
 		.name	= "sgihal2",
 		.name	= "sgihal2",
-		.owner	= THIS_MODULE,
 	}
 	}
 };
 };
 
 

+ 0 - 1
sound/mips/sgio2audio.c

@@ -970,7 +970,6 @@ static struct platform_driver sgio2audio_driver = {
 	.remove	= snd_sgio2audio_remove,
 	.remove	= snd_sgio2audio_remove,
 	.driver = {
 	.driver = {
 		.name	= "sgio2audio",
 		.name	= "sgio2audio",
-		.owner	= THIS_MODULE,
 	}
 	}
 };
 };