Преглед на файлове

ALSA: sparc: 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 години
родител
ревизия
79cd176293
променени са 3 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 1
      sound/sparc/amd7930.c
  2. 0 1
      sound/sparc/cs4231.c
  3. 0 1
      sound/sparc/dbri.c

+ 0 - 1
sound/sparc/amd7930.c

@@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = {
 static struct platform_driver amd7930_sbus_driver = {
 	.driver = {
 		.name = "audio",
-		.owner = THIS_MODULE,
 		.of_match_table = amd7930_match,
 	},
 	.probe		= amd7930_sbus_probe,

+ 0 - 1
sound/sparc/cs4231.c

@@ -2119,7 +2119,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match);
 static struct platform_driver cs4231_driver = {
 	.driver = {
 		.name = "audio",
-		.owner = THIS_MODULE,
 		.of_match_table = cs4231_match,
 	},
 	.probe		= cs4231_probe,

+ 0 - 1
sound/sparc/dbri.c

@@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match);
 static struct platform_driver dbri_sbus_driver = {
 	.driver = {
 		.name = "dbri",
-		.owner = THIS_MODULE,
 		.of_match_table = dbri_match,
 	},
 	.probe		= dbri_probe,