Browse Source

char: xillybus: 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
71379accaf
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/char/xillybus/xillybus_of.c

+ 0 - 1
drivers/char/xillybus/xillybus_of.c

@@ -179,7 +179,6 @@ static struct platform_driver xillybus_platform_driver = {
 	.remove = xilly_drv_remove,
 	.remove = xilly_drv_remove,
 	.driver = {
 	.driver = {
 		.name = xillyname,
 		.name = xillyname,
-		.owner = THIS_MODULE,
 		.of_match_table = xillybus_of_match,
 		.of_match_table = xillybus_of_match,
 	},
 	},
 };
 };