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

dm: core: Replace of_offset with accessor


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 8aa41363
No related branches found
No related tags found
Loading
Showing
with 37 additions and 32 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