summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2012-01-11 08:38:35 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-24 14:23:49 -0800
commit98d9a82e5f753a2483d7b4638802d60e94e5d2e4 (patch)
tree9d51467e4d07abaa8bacb02bdfc8ebdd33904b01 /drivers/usb/core/usb.c
parent1493138af1463112e42eebcdab5db61452821e97 (diff)
downloadlinux-98d9a82e5f753a2483d7b4638802d60e94e5d2e4.tar.bz2
USB: cleanup the handling of the PM complete call
This eliminates the last instance of a function's behavior controlled by a parameter as Linus hates such things. Signed-off-by: Oliver Neukum <oneukum@suse.de> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/usb.c')
-rw-r--r--drivers/usb/core/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index 8ca9f994a280..c74ba7bbc748 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -274,7 +274,7 @@ static int usb_dev_prepare(struct device *dev)
static void usb_dev_complete(struct device *dev)
{
/* Currently used only for rebinding interfaces */
- usb_resume(dev, PMSG_ON); /* FIXME: change to PMSG_COMPLETE */
+ usb_resume_complete(dev);
}
static int usb_dev_suspend(struct device *dev)