aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-05 10:12:39 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-05 10:12:39 +0800
commit6d62768468d5ff96b3977a04045dd80d6710be5d (patch)
treef2429b5502c9f76650189939c824a95d2544e654
parent521e2e03b8f6c92910b72fd464126596242398f8 (diff)
parent9345dfb8495aa17ce7c575e1a96e5ad64def0b3d (diff)
downloadlinux-security-6d62768468d5ff96b3977a04045dd80d6710be5d.tar.gz
Merge remote-tracking branch 'regulator/fix/doc' into tmp
-rw-r--r--drivers/regulator/core.c2
-rw-r--r--include/linux/regulator/driver.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 4a7790c58257d6..e3661c20cf389f 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -2830,7 +2830,7 @@ EXPORT_SYMBOL_GPL(regulator_get_bypass_regmap);
* regulator_allow_bypass - allow the regulator to go into bypass mode
*
* @regulator: Regulator to configure
- * @allow: enable or disable bypass mode
+ * @enable: enable or disable bypass mode
*
* Allow the regulator to go into bypass mode if all other consumers
* for the regulator also enable bypass mode and the machine
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index 23070fd8387200..7df93f52db089a 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -199,6 +199,8 @@ enum regulator_type {
* output when using regulator_set_voltage_sel_regmap
* @enable_reg: Register for control when using regmap enable/disable ops
* @enable_mask: Mask for control when using regmap enable/disable ops
+ * @bypass_reg: Register for control when using regmap set_bypass
+ * @bypass_mask: Mask for control when using regmap set_bypass
*
* @enable_time: Time taken for initial enable of regulator (in uS).
*/