mirror of https://github.com/torvalds/linux.git
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 <sakari.ailus@linux.intel.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20250704075432.3220321-1-sakari.ailus@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
92ab1e4156
commit
8b96324c75
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue