diff options
author | Liang He <windhl@126.com> | 2022-07-12 09:14:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-13 15:29:07 +0300 |
commit | 49b9f431ff0d845a36be0b3ede35ec324f2e5fee (patch) | |
tree | b51c409796764d0a671b87f91ee857eeed018ec2 /drivers/net/ethernet/faraday/ftgmac100.h | |
parent | 7d5424b26f17b74d94e73815718b424ad207a3e7 (diff) | |
download | linux-49b9f431ff0d845a36be0b3ede35ec324f2e5fee.tar.xz |
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 <windhl@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday/ftgmac100.h')
0 files changed, 0 insertions, 0 deletions