summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-xls.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2012-04-27 20:24:45 +0200
committerGreg Kroah-Hartman2012-04-27 20:24:45 +0200
commitd57b177208b6ec20cacd7321ee32ef02f9f9e7fa (patch)
tree6ebc0b9585876a6742170272a523a5bdb9d4a9d3 /drivers/usb/host/ohci-xls.c
parentUSB: ohci-tmio.c: remove err() usage (diff)
downloadkernel-qcow2-linux-d57b177208b6ec20cacd7321ee32ef02f9f9e7fa.tar.gz
kernel-qcow2-linux-d57b177208b6ec20cacd7321ee32ef02f9f9e7fa.tar.xz
kernel-qcow2-linux-d57b177208b6ec20cacd7321ee32ef02f9f9e7fa.zip
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/usb/host/ohci-xls.c')
-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)
ohci = hcd_to_ohci(hcd);
ret = ohci_run(ohci);
if (ret < 0) {
- err("can't start %s", hcd->self.bus_name);
+ dev_err(hcd->self.controller, "can't start %s\n",
+ hcd->self.bus_name);
ohci_stop(hcd);
return ret;
}