Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09be511c authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Zhang Rui
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent c65d3473
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;