diff options
author | Johan Hovold <[email protected]> | 2017-01-02 12:56:02 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-01-03 09:33:00 -0500 |
commit | 8f87e626b059f1b82b017f53c5ee91fbc4486e36 (patch) | |
tree | 21d46677a891982becb2451e913327215c8629c4 /lib/string_helpers.c | |
parent | 4e5da369df64628358e25ffedcf80ac43af3793d (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions