PM: Remove unbalanced mutex_unlock() from dpm_resume()
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 20 Feb 2008 01:01:41 +0000 (02:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:08 +0000 (15:27 -0800)
commitec5a42465abc585a7f8117be5eecc361490e48ce
treec7ee96e891378b348171bea39210e50cbe18366b
parent4f808bcdf8dcf1f1ecd028f6d5c5347db4cddc54
PM: Remove unbalanced mutex_unlock() from dpm_resume()

Remove an unnecessary unlocking of dpm_list_mtx in the error path
in drivers/base/power/main.c:dpm_suspend() .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/power/main.c