From: Jingoo Han Date: Tue, 10 Dec 2013 12:20:30 +0000 (+0900) Subject: USB: ehci-orion: use dev_warn() instead of printk() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb53e9467e7fe3473607d8f9e75bfc1cecad58dd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Jason Cooper Signed-off-by: Greg Kroah-Hartman --- 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) 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);