From: Greg Kroah-Hartman Date: Fri, 27 Apr 2012 18:24:43 +0000 (-0700) Subject: USB: ohci-ps3.c: remove err() usage X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8ab60ea07d5dc2c8e9ba14bffd08db6243bf865f;p=linux.git 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 CC: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-ps3.c b/drivers/usb/host/ohci-ps3.c index 6fd4fa1f19bb4..2ee1d8d713d23 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); }