mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mfd: max14577: Use module_init() instead of subsys_initcall()
The driver's init function is called at subsys init call level but the dependencies provided by the driver are looked up by drivers that have probe deferral support, so manual ordering of init calls isn't needed. Suggested-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
698adfc968
commit
9961bf1876
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ static int __init max14577_i2c_init(void)
|
|||
|
||||
return i2c_add_driver(&max14577_i2c_driver);
|
||||
}
|
||||
subsys_initcall(max14577_i2c_init);
|
||||
module_init(max14577_i2c_init);
|
||||
|
||||
static void __exit max14577_i2c_exit(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue