X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fthermal%2Frcar_thermal.c;h=a8ed0e0265ae6575c5c67c2011a5e1b28b259fa9;hb=09be511cdab813c2971c9f9af0cb40f6583cf80d;hp=5a37940b02c99df447a0fc024177edccabd96635;hpb=321d03c86732e45f5f33ad0db5b68e2e1364acb9;p=mirror_ubuntu-bionic-kernel.git 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;