Explorar o código

Merge branch 'pci/host-spear' into next

* pci/host-spear:
  PCI: spear: Use builtin_platform_driver() to simplify the code
Bjorn Helgaas %!s(int64=8) %!d(string=hai) anos
pai
achega
f77b3244c1
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  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);