17 Dec
2013
17 Dec
'13
3:59 a.m.
On Mon, Dec 16, 2013 at 07:29:12PM +0800, Shawn Guo wrote:
On Mon, Dec 16, 2013 at 03:31:29AM +0000, Li.Xiubo@freescale.com wrote:
[Deferring probe in non-DT cases]
Where should this special handling be dealt with ? Is here or regulator_get_optional() will be better ?
Anyway, this is another issue which should be addressed in regulator core, IMO.
It's something that the platform needs to address - the core has no way of figuring out what devices might register in future if the platform doesn't tell them. With DT we can do that because you can't create a device without providing information about what supplies will be made avaialable, other systems may be able to do the same thing.