diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-04-14 13:02:55 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-05-15 04:47:39 -0400 |
commit | 09be511cdab813c2971c9f9af0cb40f6583cf80d (patch) | |
tree | 5d445f5cbd7ec593dca314778cee2cf89c16734b | |
parent | c65d34735a2a31d3b015804706037f8cb0726950 (diff) |
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 <geert+renesas@glider.be>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-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: | |||
470 | rcar_thermal_irq_disable(priv); | 470 | rcar_thermal_irq_disable(priv); |
471 | } | 471 | } |
472 | 472 | ||
473 | pm_runtime_put_sync(dev); | 473 | pm_runtime_put(dev); |
474 | pm_runtime_disable(dev); | 474 | pm_runtime_disable(dev); |
475 | 475 | ||
476 | return ret; | 476 | return ret; |
@@ -488,7 +488,7 @@ static int rcar_thermal_remove(struct platform_device *pdev) | |||
488 | rcar_thermal_irq_disable(priv); | 488 | rcar_thermal_irq_disable(priv); |
489 | } | 489 | } |
490 | 490 | ||
491 | pm_runtime_put_sync(dev); | 491 | pm_runtime_put(dev); |
492 | pm_runtime_disable(dev); | 492 | pm_runtime_disable(dev); |
493 | 493 | ||
494 | return 0; | 494 | return 0; |