summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-30 14:58:39 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-30 14:58:39 +0400
commit2a66a854f5d716bb67e24dba78e53bdd5f0253ad (patch)
treeab04ffd19996915e2cc4b7f32045f33bac68bdf9 /drivers/regulator
parente4bf063cb8b5e3648aa9917692b185068ab8ba23 (diff)
parent31d6eebf7e079cfb5e98e65d5af4c6de093e076c (diff)
downloadlinux-2a66a854f5d716bb67e24dba78e53bdd5f0253ad.tar.xz
Merge remote-tracking branch 'regulator/fix/doc' into regulator-linus
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 5e50b20f0f96..815d6df8bd5f 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1539,7 +1539,10 @@ static void regulator_ena_gpio_free(struct regulator_dev *rdev)
}
/**
- * Balance enable_count of each GPIO and actual GPIO pin control.
+ * regulator_ena_gpio_ctrl - balance enable_count of each GPIO and actual GPIO pin control
+ * @rdev: regulator_dev structure
+ * @enable: enable GPIO at initial use?
+ *
* GPIO is enabled in case of initial use. (enable_count is 0)
* GPIO is disabled when it is not shared any more. (enable_count <= 1)
*/