diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-28 17:50:05 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-13 07:58:18 -0700 |
commit | 0d56fba3c4156ba305053b5f8f317e2974f50eeb (patch) | |
tree | b2570ba1bc2cb0ac7ef944c54863d2bad9e8285e /include | |
parent | 20da4e023175b91cefab4afe4d64fcab4a2fa873 (diff) | |
download | u-boot-0d56fba3c4156ba305053b5f8f317e2974f50eeb.tar.gz u-boot-0d56fba3c4156ba305053b5f8f317e2974f50eeb.tar.xz u-boot-0d56fba3c4156ba305053b5f8f317e2974f50eeb.zip |
dm: core: Drop dev_set_of_offset()
This pre-livetree function is not needed anymore. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/device.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index 5bef484247..25a77d08b9 100644 --- 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); |