Browse Source

powerpc: platforms: 85xx: 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
4a0b0cee81
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/powerpc/platforms/85xx/sgy_cts1000.c

+ 0 - 1
arch/powerpc/platforms/85xx/sgy_cts1000.c

@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, gpio_halt_match);
 static struct platform_driver gpio_halt_driver = {
 static struct platform_driver gpio_halt_driver = {
 	.driver = {
 	.driver = {
 		.name		= "gpio-halt",
 		.name		= "gpio-halt",
-		.owner		= THIS_MODULE,
 		.of_match_table = gpio_halt_match,
 		.of_match_table = gpio_halt_match,
 	},
 	},
 	.probe		= gpio_halt_probe,
 	.probe		= gpio_halt_probe,