Skip to content

Commit d57b177

Browse files
committed
USB: ohci-xls.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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3b8ca26 commit d57b177

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/host/ohci-xls.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ static int __devinit ohci_xls_start(struct usb_hcd *hcd)
8888
ohci = hcd_to_ohci(hcd);
8989
ret = ohci_run(ohci);
9090
if (ret < 0) {
91-
err("can't start %s", hcd->self.bus_name);
91+
dev_err(hcd->self.controller, "can't start %s\n",
92+
hcd->self.bus_name);
9293
ohci_stop(hcd);
9394
return ret;
9495
}

0 commit comments

Comments
 (0)