Skip to content

Commit

Permalink
wimax/i2400m/usb: remove unnecessary power management primitive in i2…
Browse files Browse the repository at this point in the history
…400m

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>
  • Loading branch information
Oliver Neukum authored and Inaky Perez-Gonzalez committed Oct 19, 2009
1 parent eb2ff96 commit 663ebb4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wimax/i2400m/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 663ebb4

Please sign in to comment.