summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-cns3xxx.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2012-04-27 20:24:40 +0200
committerGreg Kroah-Hartman2012-04-27 20:24:40 +0200
commitbd0c092b728e6b7fc66e28637836ac07de93f421 (patch)
tree262cf6f573b8b054bb06ef7a7da0ae31c5b787d7 /drivers/usb/host/ohci-cns3xxx.c
parentUSB: ohci-at91.c: remove err() usage (diff)
downloadkernel-qcow2-linux-bd0c092b728e6b7fc66e28637836ac07de93f421.tar.gz
kernel-qcow2-linux-bd0c092b728e6b7fc66e28637836ac07de93f421.tar.xz
kernel-qcow2-linux-bd0c092b728e6b7fc66e28637836ac07de93f421.zip
USB: ohci-cns3xxx.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-cns3xxx.c')
-rw-r--r--drivers/usb/host/ohci-cns3xxx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-cns3xxx.c b/drivers/usb/host/ohci-cns3xxx.c
index 5a00a1e1c6ca..2c9f233047be 100644
--- a/drivers/usb/host/ohci-cns3xxx.c
+++ b/drivers/usb/host/ohci-cns3xxx.c
@@ -41,7 +41,8 @@ cns3xxx_ohci_start(struct usb_hcd *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;
}