regulator: Simplify regulator_bulk_get and regulator_bulk_enable error paths
authorAxel Lin <axel.lin@gmail.com>
Mon, 20 Feb 2012 02:32:16 +0000 (10:32 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Feb 2012 02:50:21 +0000 (18:50 -0800)
Start unwind from the point the error happens instead of iterating over all
consumers, then unwind code can be simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found