mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
PCI: spear: Use builtin_platform_driver() to simplify the code
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
parent
1001354ca3
commit
554d9ec7b4
1 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue