提交 cee0122d 编写于 作者: G Geliang Tang 提交者: Jacek Anaszewski

leds: leds-cobalt-raq: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: NGeliang Tang <geliangtang@gmail.com>
Signed-off-by: NJacek Anaszewski <j.anaszewski@samsung.com>
上级 2a4f8114
......@@ -115,8 +115,4 @@ static struct platform_driver cobalt_raq_led_driver = {
},
};
static int __init cobalt_raq_led_init(void)
{
return platform_driver_register(&cobalt_raq_led_driver);
}
device_initcall(cobalt_raq_led_init);
builtin_platform_driver(cobalt_raq_led_driver);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册