diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-04-29 04:53:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-30 15:37:20 +0300 |
commit | 95098d5ac2551769807031444e55a0da5d4f0952 (patch) | |
tree | c45769af20db48078cb848a70e253b1148cf5bce /net | |
parent | 1a15267b7be77e0792cf0c7b36ca65c8eb2df0d8 (diff) | |
download | linux-95098d5ac2551769807031444e55a0da5d4f0952.tar.xz |
net: cpsw: add missing of_node_put() in cpsw_probe_dt()
'tmp_node' need be put before returning from cpsw_probe_dt(),
so add missing of_node_put() in error path.
Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions