提交 4558e094 编写于 作者: R Ralf Baechle

MIPS: SEAD3: Convert LED driver to module_platform_driver.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 01f7ab34
......@@ -71,18 +71,7 @@ static struct platform_driver sead3_led_driver = {
},
};
static int __init sead3_led_init(void)
{
return platform_driver_register(&sead3_led_driver);
}
static void __exit sead3_led_exit(void)
{
platform_driver_unregister(&sead3_led_driver);
}
module_init(sead3_led_init);
module_exit(sead3_led_exit);
module_platform_driver(sead3_led_driver);
MODULE_AUTHOR("Kristian Kielhofner <kris@krisk.org>");
MODULE_DESCRIPTION("SEAD3 LED driver");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册