Fix some typing errors in libfdt.h and livetree.c
Correct some typos discovered with the codespell utility. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
parent
a59be4939c
commit
45fd440a95
|
@ -61,7 +61,7 @@
|
||||||
#define FDT_ERR_NOTFOUND 1
|
#define FDT_ERR_NOTFOUND 1
|
||||||
/* FDT_ERR_NOTFOUND: The requested node or property does not exist */
|
/* FDT_ERR_NOTFOUND: The requested node or property does not exist */
|
||||||
#define FDT_ERR_EXISTS 2
|
#define FDT_ERR_EXISTS 2
|
||||||
/* FDT_ERR_EXISTS: Attemped to create a node or property which
|
/* FDT_ERR_EXISTS: Attempted to create a node or property which
|
||||||
* already exists */
|
* already exists */
|
||||||
#define FDT_ERR_NOSPACE 3
|
#define FDT_ERR_NOSPACE 3
|
||||||
/* FDT_ERR_NOSPACE: Operation needed to expand the device
|
/* FDT_ERR_NOSPACE: Operation needed to expand the device
|
||||||
|
@ -700,7 +700,7 @@ const char *fdt_get_alias_namelen(const void *fdt,
|
||||||
const char *name, int namelen);
|
const char *name, int namelen);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fdt_get_alias - retreive the path referenced by a given alias
|
* fdt_get_alias - retrieve the path referenced by a given alias
|
||||||
* @fdt: pointer to the device tree blob
|
* @fdt: pointer to the device tree blob
|
||||||
* @name: name of the alias th look up
|
* @name: name of the alias th look up
|
||||||
*
|
*
|
||||||
|
|
|
@ -204,7 +204,7 @@ struct node *merge_nodes(struct node *old_node, struct node *new_node)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if no collision occured, add child to the old node. */
|
/* if no collision occurred, add child to the old node. */
|
||||||
if (new_child)
|
if (new_child)
|
||||||
add_child(old_node, new_child);
|
add_child(old_node, new_child);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue