linux_old1/drivers/soc/bcm/brcmstb
Yangtao Li 1861a7f07e soc: bcm: brcmstb: Don't leak device tree node reference
of_find_node_by_path() acquires a reference to the node returned by it
and that reference needs to be dropped by its caller. soc_is_brcmstb()
doesn't do that, so fix it.

[treding: slightly rewrite to avoid inline comparison]

Fixes: d52fad2620 ("soc: add stubs for brcmstb SoC's")
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2018-11-28 13:46:44 -08:00
..
pm soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL 2018-11-05 10:41:25 -08:00
Kconfig soc bcm: brcmstb: Add support for S2/S3/S5 suspend states (MIPS) 2017-09-25 11:47:14 -07:00
Makefile soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM) 2017-09-25 11:46:48 -07:00
biuctrl.c soc: brcmstb: biuctrl: exit without warning on non brcmstb platforms 2018-01-15 15:46:17 +01:00
common.c soc: bcm: brcmstb: Don't leak device tree node reference 2018-11-28 13:46:44 -08:00