Skip to content
Commit 13c9d934 authored by Johan Hovold's avatar Johan Hovold Committed by David S. Miller
Browse files

net: phy: fixed_phy: fix of_node leak in fixed_phy_unregister



Make sure to drop the of_node reference taken in fixed_phy_register()
when deregistering a PHY.

Fixes: a7595121 ("net: phy: extend fixed driver with
fixed_phy_register()")

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3ae30f4c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment