soc/fsl/qe: 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>
This commit is contained in:
parent
16c6cb46a7
commit
c9492b4bea
1 changed files with 1 additions and 5 deletions
|
@ -717,9 +717,5 @@ static struct platform_driver qe_driver = {
|
||||||
.resume = qe_resume,
|
.resume = qe_resume,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init qe_drv_init(void)
|
builtin_platform_driver(qe_driver);
|
||||||
{
|
|
||||||
return platform_driver_register(&qe_driver);
|
|
||||||
}
|
|
||||||
device_initcall(qe_drv_init);
|
|
||||||
#endif /* defined(CONFIG_SUSPEND) && defined(CONFIG_PPC_85xx) */
|
#endif /* defined(CONFIG_SUSPEND) && defined(CONFIG_PPC_85xx) */
|
||||||
|
|
Loading…
Reference in a new issue