From b41e978d529a0e83174d2d33cf608fba441a5f9d Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 5 May 2011 15:59:39 +0530 Subject: 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 Tested-by: Laxman Dewangan Reviewed-by: Peter De Schrijver Tested-by: Peter De Schrijver Reviewed-by: Diwakar Tundlam Reviewed-by: Scott Williams --- include/linux/regulator/gpio-switch-regulator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 include/linux/regulator/gpio-switch-regulator.h (limited to 'include/linux') diff --git a/include/linux/regulator/gpio-switch-regulator.h b/include/linux/regulator/gpio-switch-regulator.h old mode 100755 new mode 100644 index 06e584bbc207..68776b93ef00 --- 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. -- cgit v1.2.3