From 554fde2c77bd73de3f5093df3b643ce1553e1f96 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 27 Aug 2015 12:12:42 +0900 Subject: [PATCH] libfdt: fix comment block of fdt_get_property_namelen() The statement "Identical to fdt_get_property_namelen() ..." does not make sense for the comment of fdt_get_property_namelen() itself. Signed-off-by: Masahiro Yamada Signed-off-by: David Gibson --- libfdt/libfdt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h index 1054512..1bd0242 100644 --- a/libfdt/libfdt.h +++ b/libfdt/libfdt.h @@ -457,8 +457,8 @@ const struct fdt_property *fdt_get_property_by_offset(const void *fdt, * @namelen: number of characters of name to consider * @lenp: pointer to an integer variable (will be overwritten) or NULL * - * Identical to fdt_get_property_namelen(), but only examine the first - * namelen characters of name for matching the property name. + * Identical to fdt_get_property(), but only examine the first namelen + * characters of name for matching the property name. */ const struct fdt_property *fdt_get_property_namelen(const void *fdt, int nodeoffset,