regulator: Factor out voltage set operation into a separate function
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 12 Dec 2010 14:25:50 +0000 (14:25 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:04 +0000 (14:33 +0000)
commit757902513019e6ee469791ff76f954b19ca8d036
treedc808dc3dbe8df8f06c2b9b3fb7f99ac5ab87865
parentd9f0f287179f76ec71a50a96d553dfd1dbb41711
regulator: Factor out voltage set operation into a separate function

Push all the callers of the chip set_voltage() operation out into a single
function to facilitiate future refactoring.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c