aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-27 14:24:45 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-27 14:24:45 -0400
commitd57b177208b6ec20cacd7321ee32ef02f9f9e7fa (patch)
tree6ebc0b9585876a6742170272a523a5bdb9d4a9d3 /drivers
parent3b8ca26fcc433cb41531660a30b6b86b79806da5 (diff)
USB: ohci-xls.c: remove err() usage
err() was a very old USB-specific macro that I thought had gone away. This patch removes it from being used in the driver and uses dev_err() instead. CC: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/ohci-xls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-xls.c b/drivers/usb/host/ohci-xls.c
index a2247867af86..41e378f17c66 100644
--- a/drivers/usb/host/ohci-xls.c
+++ b/drivers/usb/host/ohci-xls.c
@@ -88,7 +88,8 @@ static int __devinit ohci_xls_start(struct usb_hcd *hcd)
88 ohci = hcd_to_ohci(hcd); 88 ohci = hcd_to_ohci(hcd);
89 ret = ohci_run(ohci); 89 ret = ohci_run(ohci);
90 if (ret < 0) { 90 if (ret < 0) {
91 err("can't start %s", hcd->self.bus_name); 91 dev_err(hcd->self.controller, "can't start %s\n",
92 hcd->self.bus_name);
92 ohci_stop(hcd); 93 ohci_stop(hcd);
93 return ret; 94 return ret;
94 } 95 }