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 <yamada.masahiro@socionext.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Masahiro Yamada 2015-08-27 12:12:42 +09:00 committed by David Gibson
parent e5e6df7c37
commit 554fde2c77

View file

@ -457,8 +457,8 @@ const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
* @namelen: number of characters of name to consider * @namelen: number of characters of name to consider
* @lenp: pointer to an integer variable (will be overwritten) or NULL * @lenp: pointer to an integer variable (will be overwritten) or NULL
* *
* Identical to fdt_get_property_namelen(), but only examine the first * Identical to fdt_get_property(), but only examine the first namelen
* namelen characters of name for matching the property name. * characters of name for matching the property name.
*/ */
const struct fdt_property *fdt_get_property_namelen(const void *fdt, const struct fdt_property *fdt_get_property_namelen(const void *fdt,
int nodeoffset, int nodeoffset,