diff options
Diffstat (limited to 'drivers/net/wimax/i2400m/usb.c')
-rw-r--r-- | drivers/net/wimax/i2400m/usb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wimax/i2400m/usb.c b/drivers/net/wimax/i2400m/usb.c index d3365ac85dde..298f2b0b6311 100644 --- a/drivers/net/wimax/i2400m/usb.c +++ b/drivers/net/wimax/i2400m/usb.c | |||
@@ -514,7 +514,7 @@ int i2400mu_probe(struct usb_interface *iface, | |||
514 | #ifdef CONFIG_PM | 514 | #ifdef CONFIG_PM |
515 | iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ | 515 | iface->needs_remote_wakeup = 1; /* autosuspend (15s delay) */ |
516 | device_init_wakeup(dev, 1); | 516 | device_init_wakeup(dev, 1); |
517 | usb_dev->autosuspend_delay = 15 * HZ; | 517 | pm_runtime_set_autosuspend_delay(&usb_dev->dev, 15000); |
518 | usb_enable_autosuspend(usb_dev); | 518 | usb_enable_autosuspend(usb_dev); |
519 | #endif | 519 | #endif |
520 | 520 | ||
@@ -780,7 +780,6 @@ module_init(i2400mu_driver_init); | |||
780 | static | 780 | static |
781 | void __exit i2400mu_driver_exit(void) | 781 | void __exit i2400mu_driver_exit(void) |
782 | { | 782 | { |
783 | flush_scheduled_work(); /* for the stuff we schedule from sysfs.c */ | ||
784 | usb_deregister(&i2400mu_driver); | 783 | usb_deregister(&i2400mu_driver); |
785 | } | 784 | } |
786 | module_exit(i2400mu_driver_exit); | 785 | module_exit(i2400mu_driver_exit); |