commit | f3455969354ec9634e06f2b6c0edd3255b0bbd4e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jan 27 08:49:43 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 05 19:33:45 2020 -0700 |
tree | 83895f7de742e7fd0c77cfa0374086f13cd1abda | |
parent | c99ba91eb8e4583c9c9181f9a1feb22c5fb70588 [diff] |
dm: core: Rename ofnode_get_chosen_prop() This function is actually intended to read a string rather than a property. All of its current callers use it that way. Also there is no way to return the length of the property from this function. Rename it to better indicate its purpose, using ofnode_read as the prefix since this matches most other functions. Also add some tests which are missing for these functions. Signed-off-by: Simon Glass <sjg@chromium.org>