diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 14:24:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 14:24:39 -0400 |
commit | 2418d5f979fa424c401654f0f1e1d6abffecc379 (patch) | |
tree | 4f1f652b345db2dbb8b5eed833a14cf01835d39c /drivers/usb/host/ohci-at91.c | |
parent | 0917ba847ac229029bcd494abd6a5a400bab3c51 (diff) |
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) | |||
235 | ohci->num_ports = board->ports; | 235 | ohci->num_ports = board->ports; |
236 | 236 | ||
237 | if ((ret = ohci_run(ohci)) < 0) { | 237 | if ((ret = ohci_run(ohci)) < 0) { |
238 | err("can't start %s", hcd->self.bus_name); | 238 | dev_err(hcd->self.controller, "can't start %s\n", |
239 | hcd->self.bus_name); | ||
239 | ohci_stop(hcd); | 240 | ohci_stop(hcd); |
240 | return ret; | 241 | return ret; |
241 | } | 242 | } |