net: mediatek: mt7988: free allocated MDIO bus on cleanup
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 20 Sep 2025 16:09:43 +0000 (18:09 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Wed, 22 Oct 2025 09:16:10 +0000 (11:16 +0200)
commitca4264db44c1ece69d208f63c4bfe607c60751d9
tree402ee4080308bc7c2d3d549c5b9edff3fd79e257
parent85f3d070e27c3024c6d2c58ecbfd0ecb2343cc0c
net: mediatek: mt7988: free allocated MDIO bus on cleanup

Correctly free the MDIO Bus on calling cleanup function. While at it
also fix a copy-paste error and rename the cleanup function name to the
more specific name.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/net/mtk_eth/mt7988.c