diff options
Diffstat (limited to 'drivers/usb/host/ohci-ep93xx.c')
-rw-r--r-- | drivers/usb/host/ohci-ep93xx.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-ep93xx.c b/drivers/usb/host/ohci-ep93xx.c index 3d63574d2c7..dbfbd1dfd2e 100644 --- a/drivers/usb/host/ohci-ep93xx.c +++ b/drivers/usb/host/ohci-ep93xx.c | |||
@@ -47,7 +47,7 @@ static int usb_hcd_ep93xx_probe(const struct hc_driver *driver, | |||
47 | struct usb_hcd *hcd; | 47 | struct usb_hcd *hcd; |
48 | 48 | ||
49 | if (pdev->resource[1].flags != IORESOURCE_IRQ) { | 49 | if (pdev->resource[1].flags != IORESOURCE_IRQ) { |
50 | dbg("resource[1] is not IORESOURCE_IRQ"); | 50 | dev_dbg(&pdev->dev, "resource[1] is not IORESOURCE_IRQ\n"); |
51 | return -ENOMEM; | 51 | return -ENOMEM; |
52 | } | 52 | } |
53 | 53 | ||
@@ -65,14 +65,14 @@ static int usb_hcd_ep93xx_probe(const struct hc_driver *driver, | |||
65 | 65 | ||
66 | hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); | 66 | hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); |
67 | if (hcd->regs == NULL) { | 67 | if (hcd->regs == NULL) { |
68 | dbg("ioremap failed"); | 68 | dev_dbg(&pdev->dev, "ioremap failed\n"); |
69 | retval = -ENOMEM; | 69 | retval = -ENOMEM; |
70 | goto err2; | 70 | goto err2; |
71 | } | 71 | } |
72 | 72 | ||
73 | usb_host_clock = clk_get(&pdev->dev, NULL); | 73 | usb_host_clock = clk_get(&pdev->dev, NULL); |
74 | if (IS_ERR(usb_host_clock)) { | 74 | if (IS_ERR(usb_host_clock)) { |
75 | dbg("clk_get failed"); | 75 | dev_dbg(&pdev->dev, "clk_get failed\n"); |
76 | retval = PTR_ERR(usb_host_clock); | 76 | retval = PTR_ERR(usb_host_clock); |
77 | goto err3; | 77 | goto err3; |
78 | } | 78 | } |
@@ -116,7 +116,8 @@ static int __devinit ohci_ep93xx_start(struct usb_hcd *hcd) | |||
116 | return ret; | 116 | return ret; |
117 | 117 | ||
118 | if ((ret = ohci_run(ohci)) < 0) { | 118 | if ((ret = ohci_run(ohci)) < 0) { |
119 | err("can't start %s", hcd->self.bus_name); | 119 | dev_err(hcd->self.controller, "can't start %s\n", |
120 | hcd->self.bus_name); | ||
120 | ohci_stop(hcd); | 121 | ohci_stop(hcd); |
121 | return ret; | 122 | return ret; |
122 | } | 123 | } |