Skip to content

Commit 8b96324

Browse files
Sakari Ailuslag-linaro
authored andcommitted
mfd: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 92ab1e4 commit 8b96324

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

drivers/mfd/arizona-irq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ static irqreturn_t arizona_irq_thread(int irq, void *data)
152152
}
153153
} while (poll);
154154

155-
pm_runtime_mark_last_busy(arizona->dev);
156155
pm_runtime_put_autosuspend(arizona->dev);
157156

158157
return IRQ_HANDLED;

drivers/mfd/cs40l50-core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ int cs40l50_probe(struct cs40l50 *cs40l50)
531531
if (ret)
532532
return dev_err_probe(dev, ret, "Failed to request %s\n", CS40L50_FW);
533533

534-
pm_runtime_mark_last_busy(dev);
535534
pm_runtime_put_autosuspend(dev);
536535

537536
return 0;

drivers/mfd/cs42l43.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,6 @@ static void cs42l43_boot_work(struct work_struct *work)
962962
goto err;
963963
}
964964

965-
pm_runtime_mark_last_busy(cs42l43->dev);
966965
pm_runtime_put_autosuspend(cs42l43->dev);
967966

968967
return;

0 commit comments

Comments
 (0)