commit | 5a57a304315c09f9f93b7b7230a5038555e7fcf9 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Nov 28 19:25:04 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 29 23:17:02 2016 -0500 |
tree | 93391cf1b8a62398f445aded01ad002c7e43d97a | |
parent | 0807c4ceb8d171a116edc33e34166416876cae5d [diff] |
net: ethernet: marvell: mvneta: fix fixed-link phydev leaks Make sure to deregister and free any fixed-link PHY registered using of_phy_register_fixed_link() on probe errors and on driver unbind. Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links") Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>