mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
PM / Runtime: s/foo_process_requests/foo_process_next_request/
The example uses foo_process_next_request() everywhere else. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
fd6fe82673
commit
fe98245073
@ -870,7 +870,7 @@ Here is a schematic pseudo-code example:
|
|||||||
foo->is_suspended = 0;
|
foo->is_suspended = 0;
|
||||||
pm_runtime_mark_last_busy(&foo->dev);
|
pm_runtime_mark_last_busy(&foo->dev);
|
||||||
if (foo->num_pending_requests > 0)
|
if (foo->num_pending_requests > 0)
|
||||||
foo_process_requests(foo);
|
foo_process_next_request(foo);
|
||||||
unlock(&foo->private_lock);
|
unlock(&foo->private_lock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user