Commit fc6d9ec564f18d83158732e8faebeb73e26a8274

Authored by Greg Kroah-Hartman
1 parent 1d55b768c6

USB: ohci-ppc-soc.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-ppc-soc.c
... ... @@ -130,7 +130,8 @@
130 130 return ret;
131 131  
132 132 if ((ret = ohci_run(ohci)) < 0) {
133   - err("can't start %s", ohci_to_hcd(ohci)->self.bus_name);
  133 + dev_err(hcd->self.controller, "can't start %s\n",
  134 + hcd->self.bus_name);
134 135 ohci_stop(hcd);
135 136 return ret;
136 137 }