Yang Yingliang 9d4f20a476 net: ethernet: mtk_eth_wed: add missing put_device() in mtk_wed_add_hw()
After calling get_device() in mtk_wed_add_hw(), in error path, put_device()
needs be called.

Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-10-17 09:35:05 +01:00
..
2022-10-10 13:28:06 -07:00
2022-10-10 09:10:28 -07:00
2022-10-07 10:48:49 -07:00
2022-10-12 10:23:24 -07:00
2022-10-12 10:23:24 -07:00
2022-10-08 09:46:29 -07:00
2022-10-07 15:56:34 -07:00
2022-10-12 10:23:24 -07:00
2022-10-12 14:46:48 -07:00
2022-10-11 10:53:25 -07:00
2022-10-10 13:59:01 -07:00
2022-10-07 12:05:29 -07:00
2022-10-11 10:53:25 -07:00
2022-10-10 13:20:53 -07:00
2022-10-12 10:23:24 -07:00
2022-10-05 10:38:24 -07:00
2022-10-09 14:05:15 -07:00
2022-10-07 09:35:50 -07:00
2022-10-10 09:10:28 -07:00
2022-10-07 11:24:20 -07:00
2022-10-07 16:36:24 -07:00
2022-10-07 09:35:50 -07:00
2022-10-10 13:13:51 -07:00
2022-10-06 12:10:37 -07:00
2022-10-12 14:39:38 -07:00
2022-10-10 09:27:46 -07:00
2022-10-11 11:08:18 -07:00
2022-10-12 10:23:24 -07:00
2022-10-12 10:35:20 -07:00
2022-10-10 09:10:28 -07:00
2022-10-07 11:32:10 -07:00
2022-10-07 11:24:20 -07:00
2022-10-12 14:46:48 -07:00
2022-10-10 13:59:01 -07:00
2022-10-07 16:13:55 -07:00
2022-10-04 19:36:53 -07:00
2022-10-07 12:33:18 -07:00
2022-10-07 16:36:24 -07:00
2022-10-07 12:33:18 -07:00
2022-10-10 14:02:53 -07:00
2022-10-12 14:46:48 -07:00
2022-10-10 14:02:53 -07:00
2022-10-13 10:31:13 -07:00
2022-10-12 14:39:38 -07:00