projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb53e94
)
USB: ehci-ppc-of: use dev_err() instead of printk()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 10 Dec 2013 12:21:52 +0000
(21:21 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:32:41 +0000
(16:32 -0800)
Use dev_err() instead of printk() to provide a better message
to userspace.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-ppc-of.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-ppc-of.c
b/drivers/usb/host/ehci-ppc-of.c
index b0965eb6c0dbddadbfba08497914edd5c9148ba5..547924796d290127bd692157a87f8d84b65dd2b1 100644
(file)
--- a/
drivers/usb/host/ehci-ppc-of.c
+++ b/
drivers/usb/host/ehci-ppc-of.c
@@
-119,7
+119,8
@@
static int ehci_hcd_ppc_of_probe(struct platform_device *op)
irq = irq_of_parse_and_map(dn, 0);
if (irq == NO_IRQ) {
- printk(KERN_ERR "%s: irq_of_parse_and_map failed\n", __FILE__);
+ dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n",
+ __FILE__);
rv = -EBUSY;
goto err_irq;
}