1DEVICE_SET_OF_NODE_F(9) Device drivers infrastructure DEVICE_SET_OF_NODE_F(9)
2
3
4
6 device_set_of_node_from_dev - reuse device-tree node of another device
7
9 void device_set_of_node_from_dev(struct device * dev,
10 const struct device * dev2);
11
13 dev
14 device whose device-tree node is being set
15
16 dev2
17 device whose device-tree node is being reused
18
20 Takes another reference to the new device-tree node after first
21 dropping any reference held to the old node.
22
24Kernel Hackers Manual 3.10 June 2019 DEVICE_SET_OF_NODE_F(9)