Re: [PATCH v2] soc: bcm: brcmstb: Don't leak device tree node reference

From: Florian Fainelli
Date: Wed Nov 28 2018 - 16:47:35 EST




On 11/24/18 6:52 AM, Yangtao Li wrote:
> 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]
>
> Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>

Applied to drivers/next, thanks!
--
Florian