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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user