Messages in this thread | | | Date | Mon, 20 Jun 2022 14:21:03 +0200 | Subject | Re: [PATCH v2] soc: samsung: Add missing of_node_put in exynos-pmu.c | From | Krzysztof Kozlowski <> |
| |
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@126.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards, Krzysztof
| |