regulator: stub: Initialize voltage to min_uV constraint

The regulator_set_optimum API expects a non-zero voltage
returned from the get_voltage regulator_op. The current
default voltage is initialized to zero, and so this agreement
is broken.

Change-Id: I0c225604803cd633348070d2fe02a5cd8c4a45e1
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
diff --git a/drivers/regulator/stub-regulator.c b/drivers/regulator/stub-regulator.c
index afac80a..5b44c04 100644
--- a/drivers/regulator/stub-regulator.c
+++ b/drivers/regulator/stub-regulator.c
@@ -179,6 +179,7 @@
 	rdesc->type  = REGULATOR_VOLTAGE;
 	vreg_priv->system_uA = vreg_pdata->system_uA;
 	vreg_priv->hpm_min_load = vreg_pdata->hpm_min_load;
+	vreg_priv->voltage = vreg_pdata->init_data.constraints.min_uV;
 
 	vreg_priv->rdev = regulator_register(rdesc, &pdev->dev,
 			&(vreg_pdata->init_data), vreg_priv);