diff options
author | 2013-03-05 17:36:10 +0800 | |
---|---|---|
committer | 2013-03-05 17:36:10 +0800 | |
commit | 0ac682db5c18358d6b3606cab6147dc294c4286d (patch) | |
tree | 665b66c958cb151546ca1475684ec0848b14744b | |
parent | Linux 3.9-rc1 (diff) | |
parent | regulator: core: fix documentation error in regulator_allow_bypass (diff) | |
download | linux-dev-0ac682db5c18358d6b3606cab6147dc294c4286d.tar.xz linux-dev-0ac682db5c18358d6b3606cab6147dc294c4286d.zip |
Merge remote-tracking branch 'regulator/fix/doc' into regulator-enable-invert
-rw-r--r-- | drivers/regulator/core.c | 2 | ||||
-rw-r--r-- | include/linux/regulator/driver.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index da9782bd27d0..154bc8f0c1a0 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 23070fd83872..7df93f52db08 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). */ |