提交 09be511c 编写于 作者: G Geert Uytterhoeven 提交者: Zhang Rui

thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync()

There's no need for this to be synchronous
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 c65d3473
...@@ -470,7 +470,7 @@ static int rcar_thermal_probe(struct platform_device *pdev) ...@@ -470,7 +470,7 @@ static int rcar_thermal_probe(struct platform_device *pdev)
rcar_thermal_irq_disable(priv); rcar_thermal_irq_disable(priv);
} }
pm_runtime_put_sync(dev); pm_runtime_put(dev);
pm_runtime_disable(dev); pm_runtime_disable(dev);
return ret; return ret;
...@@ -488,7 +488,7 @@ static int rcar_thermal_remove(struct platform_device *pdev) ...@@ -488,7 +488,7 @@ static int rcar_thermal_remove(struct platform_device *pdev)
rcar_thermal_irq_disable(priv); rcar_thermal_irq_disable(priv);
} }
pm_runtime_put_sync(dev); pm_runtime_put(dev);
pm_runtime_disable(dev); pm_runtime_disable(dev);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册