regulator: Use newly added devres_release() rather than open coding
devres_release() will call the destructor for the resource as well as freeing the devres data. Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NLiam Girdwood <lrg@ti.com>
Showing
想要评论请 注册 或 登录