summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-05-05 15:59:39 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-05-11 15:18:47 -0700
commitb41e978d529a0e83174d2d33cf608fba441a5f9d (patch)
tree14eaf4fcf8b93811b95950c6957e131505339cee /include/linux
parent53dab0e8c7bc197d7cfbe5cb27f2e848372a2303 (diff)
regulator: gpio_switch: voltage should be return in microvolts
The get_voltage should return voltage in unit of microvolts. bug 823828 Change-Id: I41d168f2845947cab0b076b0d3f0b70305af240b Reviewed-on: http://git-master/r/30488 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r--[-rwxr-xr-x]include/linux/regulator/gpio-switch-regulator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/gpio-switch-regulator.h b/include/linux/regulator/gpio-switch-regulator.h
index 06e584bbc207..68776b93ef00 100755..100644
--- a/include/linux/regulator/gpio-switch-regulator.h
+++ b/include/linux/regulator/gpio-switch-regulator.h
@@ -33,7 +33,7 @@
* @gpio_nr: Gpio nr which controls this switch.
* @active_low: true if making gpio low makes voltage output enable.
* @init_state: 1 if init_state should be active.
- * @voltages: Possible voltages to set at output.
+ * @voltages: Possible voltages to set at output. The values are in millivolt.
* @n_voltages: Number of voltages.
* @num_consumer_supplies: Number of cosumer supplies.
* @consumer_supplies: List of consumer spllies.