Mark Brown 968c2c1707 regulator: Actually free the regulator in devm_regulator_put()
It turns out that (quite surprisingly) devres_destroy() only undoes the
devres mapping, it doesn't destroy the underlying resource, meaning that
anything using devm_regulator_put() would leak. While we wait for the new
devres_release() which does what we want to get merged open code it in
devm_regulator_put().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
2012-05-07 13:14:44 +01:00
..
2012-04-12 15:36:33 -07:00
2012-03-19 09:37:11 +00:00
2012-03-27 16:03:32 -07:00
2012-04-10 15:30:16 -07:00
2012-04-12 15:36:33 -07:00
2012-03-28 13:56:35 -07:00
2012-03-17 01:41:43 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 00:09:17 -07:00
2012-04-12 15:35:12 -07:00
2012-04-12 15:36:33 -07:00
2012-03-29 18:02:10 -07:00
2012-04-06 17:54:53 -07:00