提交 839b8362 编写于 作者: S Sonic Zhang 提交者: Liam Girdwood

regulator: make sure the regulator is available prior to the consumers.

Some systems are likely to want this to be subsys_initcall() to
make sure the regulator is available prior to the consumers.
Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
上级 8b385d9b
......@@ -274,7 +274,7 @@ static int __init ad5398_init(void)
{
return i2c_add_driver(&ad5398_driver);
}
module_init(ad5398_init);
subsys_initcall(ad5398_init);
static void __exit ad5398_exit(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册