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: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Showing
Please register or sign in to comment