Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: s2mps11: Fix a resource leak in error handling paths in the prob…
…e function [ Upstream commit d2d94fc ] Some resource should be released in the error handling path of the probe function, as already done in the remove function. The remove function was fixed in commit bf416bd ("clk: s2mps11: Add missing of_node_put and of_clk_del_provider") Fixes: 7cc560d ("clk: s2mps11: Add support for s2mps11") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/20201212122818.86195-1-christophe.jaillet@wanadoo.fr Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information