mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +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:
parent
20da4e0231
commit
0d56fba3c4
@ -177,11 +177,6 @@ static inline int dev_of_offset(const struct udevice *dev)
|
|||||||
return ofnode_to_offset(dev->node);
|
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)
|
static inline bool dev_has_of_node(struct udevice *dev)
|
||||||
{
|
{
|
||||||
return ofnode_valid(dev->node);
|
return ofnode_valid(dev->node);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user