Re: [PATCH v2] soc: samsung: Add missing of_node_put in exynos-pmu.c
From: Krzysztof Kozlowski
Date: Mon Jun 20 2022 - 08:21:12 EST
On 15/06/2022 15:56, Liang He wrote:
> In exynos_get_pmu_regmap(), of_find_matching_node() will return a
> node pointer with refcount incremented. We should use of_node_put()
> for that node pointer. We need a similar code logic in the function
> syscon_regmap_lookup_by_compatible().
>
> Signed-off-by: Liang He <windhl@xxxxxxx>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof