]> err.no Git - linux-2.6/commit
PM: Simplify suspend_device
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 13 Jun 2007 14:19:27 +0000 (16:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:01 +0000 (16:09 -0700)
commit9e584a4fe58881e2dc8f09bdf8444b199ab5ecaf
treefc35a8a1c25182499b20c2416ac0225ba7829138
parentcc4900690bf77257996e90f0059eb074b8db52e6
PM: Simplify suspend_device

Reduce code duplication in drivers/base/suspend.c by introducing a separate
function for printing diagnostic messages.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/suspend.c