Commit 3b8ca26fcc433cb41531660a30b6b86b79806da5

Authored by Greg Kroah-Hartman
1 parent f956c4da99

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>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

drivers/usb/host/ohci-tmio.c
... ... @@ -140,7 +140,8 @@
140 140 return ret;
141 141  
142 142 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);
144 145 ohci_stop(hcd);
145 146 return ret;
146 147 }