diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 20:24:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 20:24:39 +0200 |
commit | 2418d5f979fa424c401654f0f1e1d6abffecc379 (patch) | |
tree | 4f1f652b345db2dbb8b5eed833a14cf01835d39c /drivers/usb/host/ohci-at91.c | |
parent | USB: ci13xxx_udc.c: remove err() usage (diff) | |
download | linux-2418d5f979fa424c401654f0f1e1d6abffecc379.tar.xz linux-2418d5f979fa424c401654f0f1e1d6abffecc379.zip |
USB: ohci-at91.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>
CC: Grant Likely <grant.likely@secretlab.ca>
CC: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-at91.c')
-rw-r--r-- | drivers/usb/host/ohci-at91.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 13ebeca8e73e..476fb4d3e45e 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -235,7 +235,8 @@ ohci_at91_start (struct usb_hcd *hcd) ohci->num_ports = board->ports; if ((ret = ohci_run(ohci)) < 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; } |