Commit 53a46e81 authored by Geliang Tang's avatar Geliang Tang Committed by Scott Wood

powerpc/83xx/suspend: 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 18058822
......@@ -441,8 +441,4 @@ static struct platform_driver pmc_driver = {
.remove = pmc_remove
};
static int pmc_init(void)
{
return platform_driver_register(&pmc_driver);
}
device_initcall(pmc_init);
builtin_platform_driver(pmc_driver);
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