mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 09:12:07 +00:00
regulator: fixed-helper: Add missing "Return" kerneldoc section
kernel-doc complains about missing "Return" section for the function regulator_register_always_on(). Add a "Return" section for it based on its behavior. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20240829085131.1361701-8-wenst@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
5f93c59e60
commit
4ddb16cf53
@ -26,6 +26,8 @@ static void regulator_fixed_release(struct device *dev)
|
||||
* @supplies: consumers for this regulator
|
||||
* @num_supplies: number of consumers
|
||||
* @uv: voltage in microvolts
|
||||
*
|
||||
* Return: Pointer to registered platform device, or %NULL if memory allocation fails.
|
||||
*/
|
||||
struct platform_device *regulator_register_always_on(int id, const char *name,
|
||||
struct regulator_consumer_supply *supplies, int num_supplies, int uv)
|
||||
|
Loading…
Reference in New Issue
Block a user