Skip to content

Commit b70b845

Browse files
tititiou36lag-linaro
authored andcommitted
mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove()
exynos_lpass_disable() is called twice in the remove function. Remove one of these calls. Fixes: 90f4471 ("mfd: exynos-lpass: Add runtime PM support") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/74d69e8de10308c9855db6d54155a3de4b11abfd.1745247209.git.christophe.jaillet@wanadoo.fr Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 484f0f5 commit b70b845

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mfd/exynos-lpass.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ static void exynos_lpass_remove(struct platform_device *pdev)
141141
{
142142
struct exynos_lpass *lpass = platform_get_drvdata(pdev);
143143

144-
exynos_lpass_disable(lpass);
145144
pm_runtime_disable(&pdev->dev);
146145
if (!pm_runtime_status_suspended(&pdev->dev))
147146
exynos_lpass_disable(lpass);

0 commit comments

Comments
 (0)