wimax/i2400m/usb: remove unnecessary power management primitive in i2400m
authorOliver Neukum <oliver@neukum.org>
Wed, 19 Aug 2009 19:50:45 +0000 (13:50 -0600)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:32 +0000 (15:55 +0900)
This patch removes an unneeded power management primitive.
Power management is automatically enabled as probe ends.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/usb.c

index 7eadd11..bfa45f5 100644 (file)
@@ -415,7 +415,6 @@ int i2400mu_probe(struct usb_interface *iface,
 #ifdef CONFIG_PM
        iface->needs_remote_wakeup = 1;         /* autosuspend (15s delay) */
        device_init_wakeup(dev, 1);
-       usb_autopm_enable(i2400mu->usb_iface);
        usb_dev->autosuspend_delay = 15 * HZ;
        usb_dev->autosuspend_disabled = 0;
 #endif