Skip to content

Commit

Permalink
thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Zhang Rui committed May 15, 2014
1 parent c65d347 commit 09be511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thermal/rcar_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static int rcar_thermal_probe(struct platform_device *pdev)
rcar_thermal_irq_disable(priv);
}

pm_runtime_put_sync(dev);
pm_runtime_put(dev);
pm_runtime_disable(dev);

return ret;
Expand All @@ -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;
Expand Down

0 comments on commit 09be511

Please sign in to comment.