]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: add missing of_node_put() in fec_enet_init_stop_mode()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 26 Apr 2022 12:52:31 +0000 (20:52 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Apr 2022 00:53:48 +0000 (17:53 -0700)
commit28abb85286a0686d7a596b63de01d9c02b3c67a4
treec585b7128e95851d2fc61c27f58e557e5e7e5562
parentb45fad0f1443374c6994a7e2555acb3cc37c33be
net: fec: add missing of_node_put() in fec_enet_init_stop_mode()

Put device node in error path in fec_enet_init_stop_mode().

Fixes: d4bf8c343bbc ("net: ethernet: fec: move GPR register offset and bit into DT")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220426125231.375688-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/fec_main.c