]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
libfdt: fix description of fdt_get_string()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 14 Jul 2015 16:08:42 +0000 (01:08 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:34:19 +0000 (13:34 +0200)
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>
include/libfdt.h

index f3cbb637be419d16c35e59aec1aaf08f7819e310..421d64fd8b6328f0241bf32762febd2b958b049e 100644 (file)
@@ -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