projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20da4e0
)
dm: core: Drop dev_set_of_offset()
author
Simon Glass
<sjg@chromium.org>
Sun, 29 Nov 2020 00:50:05 +0000
(17:50 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sun, 13 Dec 2020 14:58:18 +0000
(07:58 -0700)
This pre-livetree function is not needed anymore. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/device.h
patch
|
blob
|
history
diff --git
a/include/dm/device.h
b/include/dm/device.h
index 5bef484247083ce2d9c117ccc6cd6eba48022564..25a77d08b9d9281e89bcbf5a9468a4b547c1990e 100644
(file)
--- a/
include/dm/device.h
+++ b/
include/dm/device.h
@@
-177,11
+177,6
@@
static inline int dev_of_offset(const struct udevice *dev)
return ofnode_to_offset(dev->node);
}
-static inline void dev_set_of_offset(struct udevice *dev, int of_offset)
-{
- dev->node = offset_to_ofnode(of_offset);
-}
-
static inline bool dev_has_of_node(struct udevice *dev)
{
return ofnode_valid(dev->node);