diff options
-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); |