diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 14:24:43 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 14:24:43 -0400 |
| commit | 8ab60ea07d5dc2c8e9ba14bffd08db6243bf865f (patch) | |
| tree | b0c14535a594811316cfbf4eacc1cd8d8564b240 | |
| parent | fc6d9ec564f18d83158732e8faebeb73e26a8274 (diff) | |
USB: ohci-ps3.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: Geoff Levand <geoff@infradead.org>
CC: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/usb/host/ohci-ps3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-ps3.c b/drivers/usb/host/ohci-ps3.c index 6fd4fa1f19bb..2ee1d8d713d2 100644 --- a/drivers/usb/host/ohci-ps3.c +++ b/drivers/usb/host/ohci-ps3.c | |||
| @@ -45,7 +45,8 @@ static int __devinit ps3_ohci_hc_start(struct usb_hcd *hcd) | |||
| 45 | result = ohci_run(ohci); | 45 | result = ohci_run(ohci); |
| 46 | 46 | ||
| 47 | if (result < 0) { | 47 | if (result < 0) { |
| 48 | err("can't start %s", hcd->self.bus_name); | 48 | dev_err(hcd->self.controller, "can't start %s\n", |
| 49 | hcd->self.bus_name); | ||
| 49 | ohci_stop(hcd); | 50 | ohci_stop(hcd); |
| 50 | } | 51 | } |
| 51 | 52 | ||
