dm: core: Reverse the argument order in ofnode_copy_props()

Follow the order used by memcpy() as it may be less confusing.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2023-10-06 14:38:12 -04:00
committed by Tom Rini
parent a17e1e76c8
commit 247970978d
5 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -1731,7 +1731,7 @@ int ofnode_add_subnode(ofnode node, const char *name, ofnode *subnodep)
return ret; /* 0 or -EEXIST */
}
int ofnode_copy_props(ofnode src, ofnode dst)
int ofnode_copy_props(ofnode dst, ofnode src)
{
struct ofprop prop;