Javier Carrasco b8ee7a11c7 net: dsa: mv88e6xxx: fix unreleased fwnode_handle in setup_port()
'ports_fwnode' is initialized via device_get_named_child_node(), which
requires a call to fwnode_handle_put() when the variable is no longer
required to avoid leaking memory.

Add the missing fwnode_handle_put() after 'ports_fwnode' has been used
and is no longer required.

Fixes: 94a2a84f5e9e ("net: dsa: mv88e6xxx: Support LED control")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-10-28 13:27:34 +00:00
..
2024-10-11 11:32:10 -07:00
2024-10-11 11:26:15 -07:00
2024-10-18 15:53:00 -07:00
2024-09-27 08:48:37 -07:00
2024-10-07 11:33:26 -07:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-09-19 10:18:15 +02:00
2024-10-15 20:39:43 +00:00
2024-10-18 13:53:41 +10:00
2024-10-24 16:31:58 -07:00
2024-09-19 10:18:15 +02:00
2024-10-05 10:31:04 -07:00
2024-10-19 10:18:03 -07:00
2024-09-29 09:22:34 -07:00
2024-10-20 13:10:44 -07:00
2024-10-11 11:23:21 -07:00
2024-09-26 08:43:17 -07:00
2024-10-18 15:53:00 -07:00
2024-09-23 14:05:10 -07:00
2024-10-06 11:11:01 -07:00
2024-09-26 12:00:25 -07:00
2024-10-19 12:52:19 -07:00
2024-10-11 10:03:13 +00:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-10-19 12:52:19 -07:00
2024-09-09 12:22:06 +02:00
2024-10-19 12:52:19 -07:00
2024-09-11 16:02:54 +02:00
2024-10-18 12:11:28 +02:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-09-04 17:24:58 -05:00