staging: mt7621-pinctrl: replace core_initcall_sync with builtin_platform_driver

We don't really need initialization of this at such an early stage.
Just use builtin_platform_driver to initialize this driver.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergio Paracuellos 2018-06-28 21:03:09 +02:00 committed by Greg Kroah-Hartman
parent b595818682
commit 7383f87de8
1 changed files with 1 additions and 6 deletions

View File

@ -422,9 +422,4 @@ static struct platform_driver rt2880_pinmux_driver = {
},
};
int __init rt2880_pinmux_init(void)
{
return platform_driver_register(&rt2880_pinmux_driver);
}
core_initcall_sync(rt2880_pinmux_init);
builtin_platform_driver(rt2880_pinmux_driver);