Commit cee0122d authored by Geliang Tang's avatar Geliang Tang Committed by Jacek Anaszewski

leds: leds-cobalt-raq: use builtin_platform_driver

Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment