]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
regulator: core: Fix short description for _regulator_check_status_enabled()
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 29 Aug 2024 08:51:21 +0000 (16:51 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 29 Aug 2024 13:20:22 +0000 (14:20 +0100)
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 <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-2-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c

index 9029de5395ee65ec9fc2a9ca3eb6c6ef81a6e44d..763048d6f1ed115bf040caefb01f46589e340146 100644 (file)
@@ -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: