diff options
| author | Oliver Neukum <[email protected]> | 2012-01-11 07:38:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-01-24 22:23:49 +0000 |
| commit | 98d9a82e5f753a2483d7b4638802d60e94e5d2e4 (patch) | |
| tree | 9d51467e4d07abaa8bacb02bdfc8ebdd33904b01 /drivers/usb/core/usb.c | |
| parent | USB: code cleanup in suspend/resume path (3rd try) (diff) | |
| download | kernel-98d9a82e5f753a2483d7b4638802d60e94e5d2e4.tar.gz kernel-98d9a82e5f753a2483d7b4638802d60e94e5d2e4.zip | |
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 <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/usb.c')
| -rw-r--r-- | drivers/usb/core/usb.c | 2 |
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) |
