diff options
author | Liang He <[email protected]> | 2022-07-12 14:14:17 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-07-13 13:29:07 +0100 |
commit | 49b9f431ff0d845a36be0b3ede35ec324f2e5fee (patch) | |
tree | b51c409796764d0a671b87f91ee857eeed018ec2 /lib/netdev-notifier-error-inject.c | |
parent | 7d5424b26f17b74d94e73815718b424ad207a3e7 (diff) |
net: ftgmac100: Hold reference returned by of_get_child_by_name()
In ftgmac100_probe(), we should hold the refernece returned by
of_get_child_by_name() and use it to call of_node_put() for
reference balance.
Fixes: 39bfab8844a0 ("net: ftgmac100: Add support for DT phy-handle property")
Signed-off-by: Liang He <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions