[lkml]   [2013]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 4/6] regulator: gpio-regulator: use devm_regulator_register()
On Fri, Dec 06, 2013 at 10:12:05AM +0100, Heiko Stübner wrote:

> I'm not this firm in the core driver/device behaviour, but when looking at
> __device_release_driver I see that the remove callback runs before
> devres_release_all, which would effectively free the gpios before the
> regulator gets unregistered - is this racy with a regulator change at the same
> time?

Yes, the rest of the driver really needs to be converted to devm_ at the
same time.
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2013-12-06 13:21    [W:0.188 / U:1.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site