aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@codeaurora.org>2016-09-28 11:58:42 -0500
committerDavid S. Miller <davem@davemloft.net>2016-09-29 01:50:13 -0400
commit54e19bc74f3380d414681762ceed9f7245bc6a6e (patch)
treed633a3bdbc9839a376b96484e3c13fb29708de73 /net/switchdev/switchdev.c
parent484611357c19f9e19ef742ebef4505a07d243cc9 (diff)
downloadlinux-54e19bc74f3380d414681762ceed9f7245bc6a6e.tar.gz
linux-54e19bc74f3380d414681762ceed9f7245bc6a6e.tar.bz2
linux-54e19bc74f3380d414681762ceed9f7245bc6a6e.zip
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions