Browse Source

powerpc: kernel: 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
21d9625180
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/powerpc/kernel/of_platform.c

+ 0 - 1
arch/powerpc/kernel/of_platform.c

@@ -110,7 +110,6 @@ static struct platform_driver of_pci_phb_driver = {
 	.probe = of_pci_phb_probe,
 	.probe = of_pci_phb_probe,
 	.driver = {
 	.driver = {
 		.name = "of-pci",
 		.name = "of-pci",
-		.owner = THIS_MODULE,
 		.of_match_table = of_pci_phb_ids,
 		.of_match_table = of_pci_phb_ids,
 	},
 	},
 };
 };