From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Tue, 14 Jul 2015 16:08:42 +0000 (+0900)
Subject: libfdt: fix description of fdt_get_string()
X-Git-Tag: v2025.01-rc5-pxa1908~12600
X-Git-Url: http://git.dujemihanovic.xyz/%22bddb.css/static/git-logo.png?a=commitdiff_plain;h=965fab1adf59586fe27e81f4def0aeadc51ec1d5;p=u-boot.git

libfdt: fix description of fdt_get_string()

Looks like this comment was copied from that of
fdt_get_string_index().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Fixes: 5094eb408a5d ("fdt: Add functions to retrieve strings")
Acked-by: Simon Glass <sjg@chromium.org>
---

diff --git a/include/libfdt.h b/include/libfdt.h
index f3cbb637be..421d64fd8b 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -915,7 +915,7 @@ int fdt_get_string_index(const void *fdt, int node, const char *property,
 			 int index, const char **output);
 
 /**
- * fdt_get_string() - obtain the string at a given index in a string list
+ * fdt_get_string() - obtain the first string in a string list
  * @fdt: pointer to the device tree blob
  * @node: offset of the node
  * @property: name of the property containing the string list