PM: runtime: Relocate rpm_callback() right after __rpm_callback()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 2 Dec 2022 14:32:09 +0000 (15:32 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 5 Dec 2022 14:43:37 +0000 (15:43 +0100)
commit0307f4e8fff5518f2e123f992b4cd089813dc18c
treedeffce27b6dbca3ae8c0d99e57b0496e8ee21436
parentbc80c2e438dcbfcf748452ec0f7ad5b79ff3ad88
PM: runtime: Relocate rpm_callback() right after __rpm_callback()

Because rpm_callback() is a wrapper around __rpm_callback(), and the
only caller of it after the change eliminating an invocation of it
from rpm_idle(), move the former next to the latter to make the code
a bit easier to follow.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
drivers/base/power/runtime.c