diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-28 19:25:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-29 23:17:02 -0500 |
commit | 5a57a304315c09f9f93b7b7230a5038555e7fcf9 (patch) | |
tree | 93391cf1b8a62398f445aded01ad002c7e43d97a /crypto/ctr.c | |
parent | 0807c4ceb8d171a116edc33e34166416876cae5d (diff) | |
download | linux-5a57a304315c09f9f93b7b7230a5038555e7fcf9.tar.bz2 |
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>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions