summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-cns3xxx.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-27 11:24:40 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-27 11:24:40 -0700
commitbd0c092b728e6b7fc66e28637836ac07de93f421 (patch)
tree262cf6f573b8b054bb06ef7a7da0ae31c5b787d7 /drivers/usb/host/ohci-cns3xxx.c
parent2418d5f979fa424c401654f0f1e1d6abffecc379 (diff)
downloadblackbird-op-linux-bd0c092b728e6b7fc66e28637836ac07de93f421.tar.gz
blackbird-op-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;
}
OpenPOWER on IntegriCloud