summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-18 08:57:41 +0800
committerMark Brown <broonie@kernel.org>2015-03-18 11:42:30 +0000
commitcf39284d41f67964cf42b21bb386c012cf5b7f65 (patch)
treea4954a3c3181e2448b997b7c873eff9980bae103 /include/linux
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
regulator: Fix documentation for regmap in the config
dev_get_regulator() does not exist, fix the typo. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regulator/driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index d4ad5b5a02bb..045f709cb89b 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -316,7 +316,7 @@ struct regulator_desc {
* @driver_data: private regulator data
* @of_node: OpenFirmware node to parse for device tree bindings (may be
* NULL).
- * @regmap: regmap to use for core regmap helpers if dev_get_regulator() is
+ * @regmap: regmap to use for core regmap helpers if dev_get_regmap() is
* insufficient.
* @ena_gpio_initialized: GPIO controlling regulator enable was properly
* initialized, meaning that >= 0 is a valid gpio