diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 11:24:39 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 11:24:39 -0700 |
commit | 2418d5f979fa424c401654f0f1e1d6abffecc379 (patch) | |
tree | 4f1f652b345db2dbb8b5eed833a14cf01835d39c /drivers/usb/host/ohci-at91.c | |
parent | 0917ba847ac229029bcd494abd6a5a400bab3c51 (diff) | |
download | op-kernel-dev-2418d5f979fa424c401654f0f1e1d6abffecc379.zip op-kernel-dev-2418d5f979fa424c401654f0f1e1d6abffecc379.tar.gz |
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 13ebeca..476fb4d 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; } |