diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-02 14:56:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-03 17:33:00 +0300 |
commit | 8f87e626b059f1b82b017f53c5ee91fbc4486e36 (patch) | |
tree | 21d46677a891982becb2451e913327215c8629c4 /drivers/net/bonding/bond_procfs.c | |
parent | 4e5da369df64628358e25ffedcf80ac43af3793d (diff) | |
download | linux-8f87e626b059f1b82b017f53c5ee91fbc4486e36.tar.xz |
net: stmmac: dwmac-oxnas: fix of-node leak
Use the syscon lookup-by-phandle helper so that the reference taken by
of_parse_phandle() is released when done with the node.
Fixes: 5ed7414062e7 ("net: stmmac: Add OXNAS Glue Driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
0 files changed, 0 insertions, 0 deletions