summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSong Hongyi <szpcq123@gmail.com>2026-02-25 12:38:14 +0300
committerRob Herring (Arm) <robh@kernel.org>2026-02-28 02:49:54 +0300
commit60477d78971342c476e221b643e56ed0dce8e888 (patch)
tree8f5dcf35324f81af2f974a95c893a6e234d8efc7
parent28f060c4b0667a7fbed9818ef19b6974d53ad708 (diff)
downloadlinux-60477d78971342c476e221b643e56ed0dce8e888.tar.xz
of: property: fix typo in kernel-doc return description
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>
-rw-r--r--drivers/of/property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/property.c b/drivers/of/property.c
index 50d95d512bf5..457e628ff9db 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -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.
*/