]> git.openfabrics.org - ~emulex/infiniband.git/commit
regulator: Use newly added devres_release() rather than open coding
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 7 May 2012 13:14:30 +0000 (14:14 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:20:12 +0000 (13:20 +0100)
commit361ff5017446605dca8b0a084c826e3d2a0d0a99
tree22a0112fa7ce6a1091ff607d1acbdbea2c7b9c50
parent8b7485ef623b9171e5a58c67eef5912a27db5822
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>
drivers/regulator/core.c