mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
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]>
This commit is contained in:
1 parent
92ab1e4156
commit
8b96324c75
3 files changed
-3
No files matched your search
@@ -152,7 +152,6 @@ static irqreturn_t arizona_irq_thread(int irq, void *data)
|
||||
}
|
||||
} while (poll);
|
||||
|
||||
pm_runtime_mark_last_busy(arizona->dev);
|
||||
pm_runtime_put_autosuspend(arizona->dev);
|
||||
|
||||
return IRQ_HANDLED;
|
||||
|
||||
@@ -531,7 +531,6 @@ int cs40l50_probe(struct cs40l50 *cs40l50)
|
||||
if (ret)
|
||||
return dev_err_probe(dev, ret, "Failed to request %s\n", CS40L50_FW);
|
||||
|
||||
pm_runtime_mark_last_busy(dev);
|
||||
pm_runtime_put_autosuspend(dev);
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -962,7 +962,6 @@ static void cs42l43_boot_work(struct work_struct *work)
|
||||
goto err;
|
||||
}
|
||||
|
||||
pm_runtime_mark_last_busy(cs42l43->dev);
|
||||
pm_runtime_put_autosuspend(cs42l43->dev);
|
||||
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user