On Fri, May 18, 2012 at 10:54:26AM +0200, Guennadi Liakhovetski wrote:

> > > + regulator_put(regulator);
> > >   rc = devres_destroy(regulator->dev, devm_regulator_release,
> > >                       devm_regulator_match, regulator);

> So, shall we rather use your new devres_release() here?

Yes, I already have a patch queued for 3.6 after things propagate
through in the merge window and have a fix based on the current API in
the regulator tree for 3.5 that doesn't have the double free issue.

Attachment: signature.asc
Description: Digital signature

Reply via email to