Browse Source

misc: carma: 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
98dc3b5edf
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/misc/carma/carma-fpga-program.c
  2. 0 1
      drivers/misc/carma/carma-fpga.c

+ 0 - 1
drivers/misc/carma/carma-fpga-program.c

@@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = {
 	.driver		= {
 	.driver		= {
 		.name		= drv_name,
 		.name		= drv_name,
 		.of_match_table	= fpga_of_match,
 		.of_match_table	= fpga_of_match,
-		.owner		= THIS_MODULE,
 	},
 	},
 };
 };
 
 

+ 0 - 1
drivers/misc/carma/carma-fpga.c

@@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = {
 	.driver		= {
 	.driver		= {
 		.name		= drv_name,
 		.name		= drv_name,
 		.of_match_table	= data_of_match,
 		.of_match_table	= data_of_match,
-		.owner		= THIS_MODULE,
 	},
 	},
 };
 };