stm class: Remove redundant pm_runtime_mark_last_busy() calls
Subsystems (3)
PATCH 1/1 stm class: 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]>
--- drivers/hwtracing/stm/core.c | 3 --- 1 file changed, 3 deletions(-)
drivers/hwtracing/stm/core.c +0 -3
@@ -659,7 +659,6 @@ static ssize_t stm_char_write(struct file *file, const char __user *buf, count =stm_write (stm, &stmf->output,0 , kbuf, count,NULL ); -pm_runtime_mark_last_busy (&stm->dev);pm_runtime_put_autosuspend (&stm->dev);kfree (kbuf);
@@ -679,7 +678,6 @@ static void stm_mmap_close(struct vm_area_struct *vma)struct stm_file *stmf = vma->vm_file->private_data;struct stm_device *stm = stmf->stm; -pm_runtime_mark_last_busy (&stm->dev);pm_runtime_put_autosuspend (&stm->dev); }
@@ -1082,7 +1080,6 @@ static int __stm_source_link_drop(struct stm_source_device *src,stm_output_free (link, &src->output);list_del_init (&src->link_entry); -pm_runtime_mark_last_busy (&link->dev);pm_runtime_put_autosuspend (&link->dev);/* matches stm_find_device() from stm_source_link_store() */ stm_put_device (link);
Signature · 1 line
2.47.3