commit | 49ce881c0d4c4a7a35358d9dccd5f26d0e56fc61 | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | Wed May 22 10:05:09 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 22 17:27:15 2019 -0700 |
tree | 55713e2cbdd2cf67a563d9544145ec39dfcdd2b7 | |
parent | ccfb62f27beb295103e9392462b20a6ed807d0ea [diff] |
net: stmmac: fix reset gpio free missing Commit 984203ceff27 ("net: stmmac: mdio: remove reset gpio free") removed the reset gpio free, when the driver is unbinded or rmmod, we miss the gpio free. This patch uses managed API to request the reset gpio, so that the gpio could be freed properly. Fixes: 984203ceff27 ("net: stmmac: mdio: remove reset gpio free") Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Signed-off-by: David S. Miller <davem@davemloft.net>