net: hns: Add missing fwnode_handle_put in hns_mac_init
authorPeng Wu <wupeng58@huawei.com>
Thu, 21 Apr 2022 05:53:44 +0000 (05:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Apr 2022 10:06:53 +0000 (11:06 +0100)
commite85f8a9f162562af1a850b9e83ec384f2b6b56aa
tree51732443d1a1ae29f4b7562e799befce76b99e11
parentc4c89a6ad8e1c937f8aec946cf97f77b7c6344b2
net: hns: Add missing fwnode_handle_put in hns_mac_init

In one of the error paths of the device_for_each_child_node() loop
in hns_mac_init, add missing call to fwnode_handle_put.

Signed-off-by: Peng Wu <wupeng58@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c