diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-03-06 17:00:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:41 -0400 |
commit | 70a1c9e086c2e267fbc4533cb870f34999b531d6 (patch) | |
tree | f599883bdc2f04d4ca4760dfdb1f1131fa6b7060 /drivers/usb/host/ohci-pxa27x.c | |
parent | e1879b19b0abdb387e4aeb0b935a486cc75042fb (diff) |
USB: remove dev->power.power_state
power.power_state is scheduled for removal. This patch (as1053)
removes all uses of that field from drivers/usb. Almost all of them
were write-only, the most significant exceptions being sl811-hcd.c and
u132-hcd.c.
Part of this patch was written by Pavel Machek.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-pxa27x.c')
-rw-r--r-- | drivers/usb/host/ohci-pxa27x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index 8ad9b3b604b5..5d470263eed8 100644 --- a/drivers/usb/host/ohci-pxa27x.c +++ b/drivers/usb/host/ohci-pxa27x.c | |||
@@ -339,7 +339,6 @@ static int ohci_hcd_pxa27x_drv_suspend(struct platform_device *pdev, pm_message_ | |||
339 | 339 | ||
340 | pxa27x_stop_hc(&pdev->dev); | 340 | pxa27x_stop_hc(&pdev->dev); |
341 | hcd->state = HC_STATE_SUSPENDED; | 341 | hcd->state = HC_STATE_SUSPENDED; |
342 | pdev->dev.power.power_state = PMSG_SUSPEND; | ||
343 | 342 | ||
344 | return 0; | 343 | return 0; |
345 | } | 344 | } |
@@ -357,7 +356,6 @@ static int ohci_hcd_pxa27x_drv_resume(struct platform_device *pdev) | |||
357 | if ((status = pxa27x_start_hc(&pdev->dev)) < 0) | 356 | if ((status = pxa27x_start_hc(&pdev->dev)) < 0) |
358 | return status; | 357 | return status; |
359 | 358 | ||
360 | pdev->dev.power.power_state = PMSG_ON; | ||
361 | usb_hcd_resume_root_hub(hcd); | 359 | usb_hcd_resume_root_hub(hcd); |
362 | 360 | ||
363 | return 0; | 361 | return 0; |