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

iio: common: 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>
Link: https://patch.msgid.link/20250825135401.1765847-5-sakari.ailus@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Sakari Ailus and committed by
Jonathan Cameron
39978720 4a0f3759

-1
-1
drivers/iio/common/hid-sensors/hid-sensor-trigger.c
··· 163 163 ret = pm_runtime_resume_and_get(&st->pdev->dev); 164 164 } else { 165 165 atomic_dec(&st->user_requested_state); 166 - pm_runtime_mark_last_busy(&st->pdev->dev); 167 166 pm_runtime_use_autosuspend(&st->pdev->dev); 168 167 ret = pm_runtime_put_autosuspend(&st->pdev->dev); 169 168 }