summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-01-13 09:44:21 +0300
committerMark Brown <broonie@kernel.org>2023-01-13 16:06:03 +0300
commita508a267dda6e67d2eccbc12088a7fecc127ba90 (patch)
tree3393b3bd9eab1d40d8db22e6777fd777dd1d96cb /drivers/regulator
parent80332ec8c0994dc457026b20619dee0f9990706f (diff)
downloadlinux-a508a267dda6e67d2eccbc12088a7fecc127ba90.tar.xz
regulator: fixed-helper: use the correct function name in comment
Use the correct function name and modify the function short description. This prevents a kernel-doc warning: drivers/regulator/fixed-helper.c:32: warning: expecting prototype for regulator_register_fixed_name(). Prototype was for regulator_register_always_on() instead Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230113064421.11986-1-rdunlap@infradead.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/fixed-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c
index 2c6098e6f4bc..0eb2442456f0 100644
--- a/drivers/regulator/fixed-helper.c
+++ b/drivers/regulator/fixed-helper.c
@@ -20,7 +20,7 @@ static void regulator_fixed_release(struct device *dev)
}
/**
- * regulator_register_fixed_name - register a no-op fixed regulator
+ * regulator_register_always_on - register an always-on regulator with a fixed name
* @id: platform device id
* @name: name to be used for the regulator
* @supplies: consumers for this regulator