regulator: core: Consolidate drms update handling
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Wed, 28 Jan 2015 02:46:31 +0000 (18:46 -0800)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 19:52:15 +0000 (19:52 +0000)
Refactor drms_uA_update() slightly to allow regulator_set_optimum_mode()
to utilize the same logic instead of duplicating it.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found