Skip to content
Snippets Groups Projects
Commit 14ca9f7f authored by Simon Glass's avatar Simon Glass
Browse files

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's avatarSimon Glass <sjg@chromium.org>
parent 74d594a2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment