]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ar8216: use devm for mdiobus consistently 22998/head
authorRosen Penev <rosenp@gmail.com>
Thu, 23 Apr 2026 06:37:22 +0000 (23:37 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 May 2026 22:36:10 +0000 (00:36 +0200)
commit9586b75358ef816b3c52e1ea317301a7b00f195a
treeca2487b752375d0589ce750d246829ae7e245b4a
parent816bd659c35a3f6abe0dc1f18c106035708ab969
ar8216: use devm for mdiobus consistently

devm_mdiobus_alloc is already used. Be consistent and use
devm_of_mdiobus_register.

Also add a missing of_node_put for the mdio node.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22998
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/files/drivers/net/phy/ar8216.c