From: Chen-Yu Tsai Date: Thu, 29 Aug 2024 08:51:27 +0000 (+0800) Subject: regulator: fixed-helper: Add missing "Return" kerneldoc section X-Git-Tag: v6.12-rc1~190^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ddb16cf5390fc8546409aab3c69ffe6651b3c6b;p=thirdparty%2Fkernel%2Flinux.git 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 Reported-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/20240829085131.1361701-8-wenst@chromium.org Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/fixed-helper.c b/drivers/regulator/fixed-helper.c index 2d5a42b2b3d80..b6cb0aaac3b16 100644 --- a/drivers/regulator/fixed-helper.c +++ b/drivers/regulator/fixed-helper.c @@ -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)