Commit 16c6cb46 authored by Geliang Tang's avatar Geliang Tang Committed by Scott Wood

powerpc/fsl_pmc: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent 53a46e81
...@@ -85,8 +85,4 @@ static struct platform_driver pmc_driver = { ...@@ -85,8 +85,4 @@ static struct platform_driver pmc_driver = {
.probe = pmc_probe, .probe = pmc_probe,
}; };
static int __init pmc_init(void) builtin_platform_driver(pmc_driver);
{
return platform_driver_register(&pmc_driver);
}
device_initcall(pmc_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment