diff options
author | Wen Yang <[email protected]> | 2019-09-29 15:00:47 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-10-01 10:02:56 -0700 |
commit | f32eb9d80470dab05df26b6efd02d653c72e6a11 (patch) | |
tree | 927f0b87f68a79203ed23ff93c47c67ddc8688d2 /tools/perf/scripts/python | |
parent | d2c50b1cd94528aea8c8e9abb4cce81590f32cc4 (diff) |
net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name
of_node_put needs to be called when the device node which is got
from of_get_child_by_name finished using.
irq_domain_add_linear() also calls of_node_get() to increase refcount,
so irq_domain will not be affected when it is released.
Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver")
Signed-off-by: Wen Yang <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Vivien Didelot <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions