diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 14:24:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 14:24:42 -0400 |
commit | 1d55b768c6f5c6a0461a31ae33c0b2bdb686562d (patch) | |
tree | f18151e9aba810f82f95121c65459bd97a6c5deb /drivers/usb/host/ohci-ppc-of.c | |
parent | b6c227edbb87630696c48e2510aa27c4ac0a3153 (diff) |
USB: ohci-ppc-of.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-ppc-of.c')
-rw-r--r-- | drivers/usb/host/ohci-ppc-of.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index b2b5767cb37f..e27d5ae2b9eb 100644 --- a/drivers/usb/host/ohci-ppc-of.c +++ b/drivers/usb/host/ohci-ppc-of.c | |||
@@ -29,7 +29,8 @@ ohci_ppc_of_start(struct usb_hcd *hcd) | |||
29 | return ret; | 29 | return ret; |
30 | 30 | ||
31 | if ((ret = ohci_run(ohci)) < 0) { | 31 | if ((ret = ohci_run(ohci)) < 0) { |
32 | err("can't start %s", ohci_to_hcd(ohci)->self.bus_name); | 32 | dev_err(hcd->self.controller, "can't start %s\n", |
33 | hcd->self.bus_name); | ||
33 | ohci_stop(hcd); | 34 | ohci_stop(hcd); |
34 | return ret; | 35 | return ret; |
35 | } | 36 | } |