diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-04 22:08:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-10-17 01:57:49 +0200 |
commit | 71c63122c4609a917f14a79c32067a68909fc487 (patch) | |
tree | 03a8e884b838e85ee02482ddea22dd47d32e3dd2 /kernel | |
parent | dbeeec5fe868f2e2e92fe94daa2c5a047240fdc4 (diff) | |
download | kernel_goldelico_gta04-71c63122c4609a917f14a79c32067a68909fc487.zip kernel_goldelico_gta04-71c63122c4609a917f14a79c32067a68909fc487.tar.gz kernel_goldelico_gta04-71c63122c4609a917f14a79c32067a68909fc487.tar.bz2 |
PM / Runtime: Reduce code duplication in core helper functions
Reduce code duplication in rpm_idle(), rpm_suspend() and rpm_resume()
by using local pointers to store callback addresses and moving some
duplicated code into a separate function.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions