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-omap.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-omap.c')
-rw-r--r-- | drivers/usb/host/ohci-omap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 7bfca1ed1b58..2aafa7b6c81f 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -505,7 +505,6 @@ static int ohci_omap_suspend(struct platform_device *dev, pm_message_t message) | |||
505 | 505 | ||
506 | omap_ohci_clock_power(0); | 506 | omap_ohci_clock_power(0); |
507 | ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; | 507 | ohci_to_hcd(ohci)->state = HC_STATE_SUSPENDED; |
508 | dev->dev.power.power_state = PMSG_SUSPEND; | ||
509 | return 0; | 508 | return 0; |
510 | } | 509 | } |
511 | 510 | ||
@@ -518,7 +517,6 @@ static int ohci_omap_resume(struct platform_device *dev) | |||
518 | ohci->next_statechange = jiffies; | 517 | ohci->next_statechange = jiffies; |
519 | 518 | ||
520 | omap_ohci_clock_power(1); | 519 | omap_ohci_clock_power(1); |
521 | dev->dev.power.power_state = PMSG_ON; | ||
522 | usb_hcd_resume_root_hub(platform_get_drvdata(dev)); | 520 | usb_hcd_resume_root_hub(platform_get_drvdata(dev)); |
523 | return 0; | 521 | return 0; |
524 | } | 522 | } |