提交 53a46e81 编写于 作者: G Geliang Tang 提交者: Scott Wood

powerpc/83xx/suspend: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: NGeliang Tang <geliangtang@gmail.com>
Signed-off-by: NScott Wood <oss@buserror.net>
上级 18058822
...@@ -441,8 +441,4 @@ static struct platform_driver pmc_driver = { ...@@ -441,8 +441,4 @@ static struct platform_driver pmc_driver = {
.remove = pmc_remove .remove = pmc_remove
}; };
static int pmc_init(void) builtin_platform_driver(pmc_driver);
{
return platform_driver_register(&pmc_driver);
}
device_initcall(pmc_init);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册