Browse Source

char: 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
06861ab52b
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/char/sonypi.c
  2. 0 1
      drivers/char/tb0219.c

+ 0 - 1
drivers/char/sonypi.c

@@ -1482,7 +1482,6 @@ static void sonypi_shutdown(struct platform_device *dev)
 static struct platform_driver sonypi_driver = {
 static struct platform_driver sonypi_driver = {
 	.driver		= {
 	.driver		= {
 		.name	= "sonypi",
 		.name	= "sonypi",
-		.owner	= THIS_MODULE,
 		.pm	= SONYPI_PM,
 		.pm	= SONYPI_PM,
 	},
 	},
 	.probe		= sonypi_probe,
 	.probe		= sonypi_probe,

+ 0 - 1
drivers/char/tb0219.c

@@ -337,7 +337,6 @@ static struct platform_driver tb0219_device_driver = {
 	.remove		= tb0219_remove,
 	.remove		= tb0219_remove,
 	.driver		= {
 	.driver		= {
 		.name	= "TB0219",
 		.name	= "TB0219",
-		.owner	= THIS_MODULE,
 	},
 	},
 };
 };