1
0
Fork 0

powerpc/83xx/suspend: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
zero-colors
Geliang Tang 2016-11-23 23:00:45 +08:00 committed by Scott Wood
parent 1805882276
commit 53a46e8188
1 changed files with 1 additions and 5 deletions

View File

@ -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);