Skip to content

Commit 3b8ca26

Browse files
committed
USB: ohci-tmio.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 f956c4d commit 3b8ca26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/host/ohci-tmio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ static int ohci_tmio_start(struct usb_hcd *hcd)
140140
return ret;
141141

142142
if ((ret = ohci_run(ohci)) < 0) {
143-
err("can't start %s", hcd->self.bus_name);
143+
dev_err(hcd->self.controller, "can't start %s\n",
144+
hcd->self.bus_name);
144145
ohci_stop(hcd);
145146
return ret;
146147
}

0 commit comments

Comments
 (0)