mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user