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:
fc32f11
)
USB: ehci-orion: use dev_warn() instead of printk()
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 10 Dec 2013 12:20:30 +0000
(21:20 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:32:41 +0000
(16:32 -0800)
Use dev_warn() instead of printk() to provide a better message
to userspace.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-orion.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-orion.c
b/drivers/usb/host/ehci-orion.c
index aa8b92bf53610e6d0cbca0824cb171d93d79dfe7..4ca61203feadd619cce3b76186ce55e41751974e 100644
(file)
--- a/
drivers/usb/host/ehci-orion.c
+++ b/
drivers/usb/host/ehci-orion.c
@@
-245,7
+245,7
@@
static int ehci_orion_drv_probe(struct platform_device *pdev)
case EHCI_PHY_DD:
case EHCI_PHY_KW:
default:
-
printk(KERN_WARNING "Orion ehci -
USB phy version isn't supported.\n");
+
dev_warn(&pdev->dev, "
USB phy version isn't supported.\n");
}
err = usb_add_hcd(hcd, irq, IRQF_SHARED);