Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Randy Dunlap and committed by
Mark Brown
a508a267 80332ec8

+1 -1
+1 -1
drivers/regulator/fixed-helper.c
··· 20 20 } 21 21 22 22 /** 23 - * regulator_register_fixed_name - register a no-op fixed regulator 23 + * regulator_register_always_on - register an always-on regulator with a fixed name 24 24 * @id: platform device id 25 25 * @name: name to be used for the regulator 26 26 * @supplies: consumers for this regulator