linux-sg2042/drivers/soc/bcm
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
..
brcmstb soc: bcm: brcmstb: Don't leak device tree node reference 2018-11-28 13:46:44 -08:00
Kconfig soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM) 2017-09-25 11:46:48 -07:00
Makefile soc: Move brcmstb to bcm/brcmstb 2016-05-31 11:06:34 -07:00
raspberrypi-power.c soc: bcm: Switch raspberrypi-power to SPDX identifier 2018-11-14 21:04:47 +01:00