On Thu, Jan 23, 2014 at 09:58:21AM +0100, Michal Simek wrote: > On 01/17/2014 06:04 PM, Arnd Bergmann wrote: > >> I thought the solution with deferring registration of the resource for > >> dev_get_regmap() until a proper device materialised seemed simple and > >> enough, did you folks run into any problems with that? I had assumed a > >> patch was likely to materialise so wasn't worrying about it myself. > > I'm still hoping that Michal will do that patch. > And what was the resolution/recommendation how to do it? Split the regmap creation so the managed resource registration could be done later on with an already allocated regmap instead of requiring it to be done at creation time.