aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-04-25 11:21:31 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-27 17:43:49 -0400
commitbc96c0ad1ed0c938fefc0423aa99f086c5a2a1ea (patch)
tree8283e540734b08d537dedf044f28c65a5ae64d63 /drivers/usb/host/ohci-hcd.c
parent2532178a68b5ce4e421d50ea1b1dcc0a1359f19d (diff)
[PATCH] ohci-omap, sl811, dummy: remove hub_set_power_budget
This patch changes the HCDs that used the old hub_set_power_budget call, making them use the new hcd->power_budget field instead. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-hcd.c')
-rw-r--r--drivers/usb/host/ohci-hcd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index 32120042ab65..0da996191251 100644
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -699,8 +699,6 @@ retry:
699 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); 699 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
700 return -ENODEV; 700 return -ENODEV;
701 } 701 }
702 if (ohci->power_budget)
703 hub_set_power_budget(udev, ohci->power_budget);
704 702
705 register_reboot_notifier (&ohci->reboot_notifier); 703 register_reboot_notifier (&ohci->reboot_notifier);
706 create_debug_files (ohci); 704 create_debug_files (ohci);