diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 20:24:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 20:24:43 +0200 |
commit | 8ab60ea07d5dc2c8e9ba14bffd08db6243bf865f (patch) | |
tree | b0c14535a594811316cfbf4eacc1cd8d8564b240 | |
parent | USB: ohci-ppc-soc.c: remove err() usage (diff) | |
download | linux-8ab60ea07d5dc2c8e9ba14bffd08db6243bf865f.tar.xz linux-8ab60ea07d5dc2c8e9ba14bffd08db6243bf865f.zip |
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) result = ohci_run(ohci); if (result < 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); } |