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 = { ...@@ -115,8 +115,4 @@ static struct platform_driver cobalt_raq_led_driver = {
}, },
}; };
static int __init cobalt_raq_led_init(void) builtin_platform_driver(cobalt_raq_led_driver);
{
return platform_driver_register(&cobalt_raq_led_driver);
}
device_initcall(cobalt_raq_led_init);
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