aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-orion.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-10 07:20:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-18 19:32:41 -0500
commitfb53e9467e7fe3473607d8f9e75bfc1cecad58dd (patch)
tree9cbe4b941e0b2a1134ebe9c9c6114256d2ca62c4 /drivers/usb/host/ehci-orion.c
parentfc32f116cbcb6b37bcf35db6a05562680b597d6b (diff)
USB: ehci-orion: use dev_warn() instead of printk()
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>
Diffstat (limited to 'drivers/usb/host/ehci-orion.c')
-rw-r--r--drivers/usb/host/ehci-orion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c
index aa8b92bf5361..4ca61203fead 100644
--- 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)
245 case EHCI_PHY_DD: 245 case EHCI_PHY_DD:
246 case EHCI_PHY_KW: 246 case EHCI_PHY_KW:
247 default: 247 default:
248 printk(KERN_WARNING "Orion ehci -USB phy version isn't supported.\n"); 248 dev_warn(&pdev->dev, "USB phy version isn't supported.\n");
249 } 249 }
250 250
251 err = usb_add_hcd(hcd, irq, IRQF_SHARED); 251 err = usb_add_hcd(hcd, irq, IRQF_SHARED);