commit | 54e19bc74f3380d414681762ceed9f7245bc6a6e | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@codeaurora.org> | Wed Sep 28 11:58:42 2016 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 29 01:50:13 2016 -0400 |
tree | d633a3bdbc9839a376b96484e3c13fb29708de73 | |
parent | 484611357c19f9e19ef742ebef4505a07d243cc9 [diff] |
net: qcom/emac: do not use devm on internal phy pdev The platform_device returned by of_find_device_by_node() is not automatically released when the driver unprobes. Therefore, managed calls like devm_ioremap_resource() should not be used. Instead, we manually allocate the resources and then free them on driver release. Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>