Browse Source

Merge branch 'pci/host-spear' into next

* pci/host-spear:
  PCI: spear: Use builtin_platform_driver() to simplify the code
Bjorn Helgaas 8 years ago
parent
commit
f77b3244c1
1 changed files with 1 additions and 5 deletions
  1. 1 5
      drivers/pci/host/pcie-spear13xx.c

+ 1 - 5
drivers/pci/host/pcie-spear13xx.c

@@ -296,8 +296,4 @@ static struct platform_driver spear13xx_pcie_driver = {
 	},
 	},
 };
 };
 
 
-static int __init spear13xx_pcie_init(void)
-{
-	return platform_driver_register(&spear13xx_pcie_driver);
-}
-device_initcall(spear13xx_pcie_init);
+builtin_platform_driver(spear13xx_pcie_driver);