Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sakari Ailus and committed by
Lee Jones
8b96324c 92ab1e41

-3
-1
drivers/mfd/arizona-irq.c
··· 152 152 } 153 153 } while (poll); 154 154 155 - pm_runtime_mark_last_busy(arizona->dev); 156 155 pm_runtime_put_autosuspend(arizona->dev); 157 156 158 157 return IRQ_HANDLED;
-1
drivers/mfd/cs40l50-core.c
··· 531 531 if (ret) 532 532 return dev_err_probe(dev, ret, "Failed to request %s\n", CS40L50_FW); 533 533 534 - pm_runtime_mark_last_busy(dev); 535 534 pm_runtime_put_autosuspend(dev); 536 535 537 536 return 0;
-1
drivers/mfd/cs42l43.c
··· 962 962 goto err; 963 963 } 964 964 965 - pm_runtime_mark_last_busy(cs42l43->dev); 966 965 pm_runtime_put_autosuspend(cs42l43->dev); 967 966 968 967 return;