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

dm: core: Replace of_offset with accessor (part 2)


At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent a771a04f
No related branches found
No related tags found
Loading
Showing
with 31 additions and 29 deletions
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