@@ -251,7 +251,7 @@ static irqreturn_t phy_mdm6600_wakeirq_thread(int irq, void *data)
/* Just wake-up and kick the autosuspend timer */
pm_runtime_mark_last_busy(ddata->dev);
- pm_runtime_put_autosuspend(ddata->dev);
+ __pm_runtime_put_autosuspend(ddata->dev);
return IRQ_HANDLED;
}
@@ -619,7 +619,7 @@ static int phy_mdm6600_probe(struct platform_device *pdev)
idle:
pm_runtime_mark_last_busy(ddata->dev);
- pm_runtime_put_autosuspend(ddata->dev);
+ __pm_runtime_put_autosuspend(ddata->dev);
cleanup:
if (error < 0) {
pm_runtime_put_autosuspend() will soon be changed to include a call to pm_runtime_mark_last_busy(). This patch switches the current users to __pm_runtime_put_autosuspend() which will continue to have the functionality of old pm_runtime_put_autosuspend(). Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> --- drivers/phy/motorola/phy-mapphone-mdm6600.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)