Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 839b8362 authored by Sonic Zhang's avatar Sonic Zhang Committed by Liam Girdwood
Browse files

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: default avatarSonic Zhang <sonic.zhang@analog.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 8b385d9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{