diff options
| author | Ioana Ciornei <[email protected]> | 2021-06-17 12:29:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-17 19:06:52 +0000 |
| commit | 43e76d463c09a0272b84775bcc727c1eb8b384b2 (patch) | |
| tree | f179f60a05928c1f4acbec49a972075afde2ddb0 /net/unix/af_unix.c | |
| parent | net: mdio: setup of_node for the MDIO device (diff) | |
| download | kernel-43e76d463c09a0272b84775bcc727c1eb8b384b2.tar.gz kernel-43e76d463c09a0272b84775bcc727c1eb8b384b2.zip | |
driver core: add a helper to setup both the of_node and fwnode of a device
There are many places where both the fwnode_handle and the of_node of a
device need to be populated. Add a function which does both so that we
have consistency.
Suggested-by: Andrew Lunn <[email protected]>
Signed-off-by: Ioana Ciornei <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
