Re: [PATCH 2/3] regulator: Add support for S2MPA01 regulator

From: Mark Brown
Date: Thu Jan 09 2014 - 05:34:56 EST


On Thu, Jan 09, 2014 at 10:39:34AM +0530, Sachin Kamat wrote:
> On 8 January 2014 18:00, Mark Brown <broonie@xxxxxxxxxx> wrote:

> >> +subsys_initcall(s2mpa01_pmic_init);

> > module_platform_driver().

> Just a small doubt here. Wouldn't changing this from subsys init to module init
> cause problems to devices like mmc which would want the regulators available
> (where they are not already enabled by the boot loader)?

This is resolved by using deferred probe.

Attachment: signature.asc
Description: Digital signature