diff options
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index afd4fbe7713c..b46ff9a80b66 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -2107,13 +2107,11 @@ static struct hc_driver r8a66597_hc_driver = { | |||
2107 | #if defined(CONFIG_PM) | 2107 | #if defined(CONFIG_PM) |
2108 | static int r8a66597_suspend(struct platform_device *pdev, pm_message_t state) | 2108 | static int r8a66597_suspend(struct platform_device *pdev, pm_message_t state) |
2109 | { | 2109 | { |
2110 | pdev->dev.power.power_state = state; | ||
2111 | return 0; | 2110 | return 0; |
2112 | } | 2111 | } |
2113 | 2112 | ||
2114 | static int r8a66597_resume(struct platform_device *pdev) | 2113 | static int r8a66597_resume(struct platform_device *pdev) |
2115 | { | 2114 | { |
2116 | pdev->dev.power.power_state = PMSG_ON; | ||
2117 | return 0; | 2115 | return 0; |
2118 | } | 2116 | } |
2119 | #else /* if defined(CONFIG_PM) */ | 2117 | #else /* if defined(CONFIG_PM) */ |