Re: [PATCH V1 15/15] spmi: pmic-arb: instantiate spmi_devices at arch_initcall

2017-07-18 Thread kgunda
On 2017-06-01 03:37, Stephen Boyd wrote: On 05/30, Kiran Gunda wrote: @@ -1384,7 +1384,12 @@ static int spmi_pmic_arb_remove(struct platform_device *pdev) .of_match_table = spmi_pmic_arb_match_table, }, }; -module_platform_driver(spmi_pmic_arb_driver); + +int __init spm

Re: [PATCH V1 15/15] spmi: pmic-arb: instantiate spmi_devices at arch_initcall

2017-05-31 Thread Stephen Boyd
On 05/30, Kiran Gunda wrote: > @@ -1384,7 +1384,12 @@ static int spmi_pmic_arb_remove(struct platform_device > *pdev) > .of_match_table = spmi_pmic_arb_match_table, > }, > }; > -module_platform_driver(spmi_pmic_arb_driver); > + > +int __init spmi_pmic_arb_init(void) Missing s

[PATCH V1 15/15] spmi: pmic-arb: instantiate spmi_devices at arch_initcall

2017-05-30 Thread Kiran Gunda
From: Abhijeet Dharmapurikar The spmi arbiter device spawns spmi_devices which in turn spawn platform_devices for pmic peripherals. Move the arbiter's driver init to arch_initcall so that the subsequent devices it spawns get instantiated earlier. Signed-off-by: Abhijeet Dharmapurikar Signed-of