diff options
| author | Geert Uytterhoeven <[email protected]> | 2014-04-14 17:02:55 +0000 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2014-05-15 08:47:39 +0000 |
| commit | 09be511cdab813c2971c9f9af0cb40f6583cf80d (patch) | |
| tree | 5d445f5cbd7ec593dca314778cee2cf89c16734b | |
| parent | thermal: samsung: Only update available threshold limits (diff) | |
| download | kernel-09be511cdab813c2971c9f9af0cb40f6583cf80d.tar.gz kernel-09be511cdab813c2971c9f9af0cb40f6583cf80d.zip | |
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: Geert Uytterhoeven <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
| -rw-r--r-- | drivers/thermal/rcar_thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index 5a37940b02c9..a8ed0e0265ae 100644 --- a/drivers/thermal/rcar_thermal.c +++ b/drivers/thermal/rcar_thermal.c @@ -470,7 +470,7 @@ error_unregister: rcar_thermal_irq_disable(priv); } - pm_runtime_put_sync(dev); + pm_runtime_put(dev); pm_runtime_disable(dev); return ret; @@ -488,7 +488,7 @@ static int rcar_thermal_remove(struct platform_device *pdev) rcar_thermal_irq_disable(priv); } - pm_runtime_put_sync(dev); + pm_runtime_put(dev); pm_runtime_disable(dev); return 0; |
