Miaoqian Lin cb0b430b4e net: dsa: Add missing of_node_put() in dsa_port_parse_of
The device_node pointer is returned by of_parse_phandle()  with refcount
incremented. We should use of_node_put() on it when done.

Fixes: 6d4e5c570c2d ("net: dsa: get port type at parse time")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220316082602.10785-1-linmq006@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-03-17 13:13:27 +01:00
..
2022-03-07 09:48:55 +01:00
2022-01-22 08:33:37 +02:00
2021-11-23 20:16:22 -08:00
2022-01-06 12:33:35 +00:00
2022-02-15 14:54:40 +00:00
2022-02-10 15:29:39 +00:00
2021-06-03 15:13:56 -07:00
2021-07-29 15:06:49 +01:00