Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 554d9ec7 authored by Geliang Tang's avatar Geliang Tang Committed by Bjorn Helgaas
Browse files

PCI: spear: Use builtin_platform_driver() to simplify the code



Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 1001354c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);