]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
of: property: fix typo in kernel-doc return description
authorSong Hongyi <szpcq123@gmail.com>
Wed, 25 Feb 2026 09:38:14 +0000 (17:38 +0800)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 27 Feb 2026 23:49:54 +0000 (17:49 -0600)
Fix the spelling of "success" in the return value description
of the kernel-doc comment to improve documentation quality.

Signed-off-by: Song Hongyi <szpcq123@gmail.com>
Link: https://patch.msgid.link/20260225093814.124735-1-szpcq123@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/of/property.c

index 50d95d512bf558cde5b9ceeb2db63a3dbd747805..457e628ff9db4dec038307ead51183ca03a4e541 100644 (file)
@@ -88,7 +88,7 @@ EXPORT_SYMBOL(of_graph_is_present);
  * Search for a property in a device node and count the number of elements of
  * size elem_size in it.
  *
- * Return: The number of elements on sucess, -EINVAL if the property does not
+ * Return: The number of elements on success, -EINVAL if the property does not
  * exist or its length does not match a multiple of elem_size and -ENODATA if
  * the property does not have a value.
  */