Skip to content
Snippets Groups Projects
Commit 0da60541 authored by Johan Hovold's avatar Johan Hovold Committed by David S. Miller
Browse files

net: bcmgenet: fix phydev reference leak


Make sure to drop the reference taken by of_phy_find_device() when
initialising MOCA PHYs.

Fixes: 6ac9de5f ("net: bcmgenet: Register link_update callback for
all MoCA PHYs")
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd05d7b1
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment