From: Chen-Yu Tsai Date: Thu, 29 Aug 2024 08:51:21 +0000 (+0800) Subject: regulator: core: Fix short description for _regulator_check_status_enabled() X-Git-Tag: v6.12-rc1~190^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=caa08dd8cdb8e58bf810e986cd6f9081ad056018;p=thirdparty%2Flinux.git regulator: core: Fix short description for _regulator_check_status_enabled() kernel-doc complains that _regulator_check_status_enabled() is missing a short description. Since the current description is already quite short, just trim it a bit more and use it as the short description. Fixes: f7d7ad42a9dc ("regulator: Allow regulators to verify enabled during enable()") Signed-off-by: Chen-Yu Tsai Reported-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/20240829085131.1361701-2-wenst@chromium.org Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 9029de5395ee6..763048d6f1ed1 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -2707,10 +2707,8 @@ static void _regulator_delay_helper(unsigned int delay) } /** - * _regulator_check_status_enabled - * - * A helper function to check if the regulator status can be interpreted - * as 'regulator is enabled'. + * _regulator_check_status_enabled - check if regulator status can be + * interpreted as "regulator is enabled" * @rdev: the regulator device to check * * Return: