regulator: core: Factor out enable and disable operations some more
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 27 Jun 2012 12:21:26 +0000 (13:21 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 Jul 2012 19:29:26 +0000 (20:29 +0100)
commit5c5659d0a22ec4f947ef4faa3055767572f15e74
treeb668c2062b6a8481871a47fcf928e430df548387
parenteefaa3c6280f3d523348e1d200e5a8215ed66fbc
regulator: core: Factor out enable and disable operations some more

Create new _regulator_do_enable() and _regulator_do_disable() operations
which deal with the mechanics of performing the enable and disable, partly
to cut down on the levels of indentation and partly to support some future
work.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c