PM / Runtime: s/foo_process_requests/foo_process_next_request/
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 24 Mar 2014 20:31:31 +0000 (21:31 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Mar 2014 15:33:06 +0000 (16:33 +0100)
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>
Documentation/power/runtime_pm.txt

index 0c1c4124d23af9a93c0440f7bc70225778976da2..5f96daf8566abfb5003089696dc1c537793d3c4b 100644 (file)
@@ -870,7 +870,7 @@ Here is a schematic pseudo-code example:
                foo->is_suspended = 0;
                pm_runtime_mark_last_busy(&foo->dev);
                if (foo->num_pending_requests > 0)
-                       foo_process_requests(foo);
+                       foo_process_next_request(foo);
                unlock(&foo->private_lock);
                return 0;
        }