[PATCH v2] soc: samsung: Add missing of_node_put in exynos-pmu.c

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Jun 20 05:21:03 PDT 2022


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 at 126.com>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list