Use the same format for all error messages of driver probe function. Signed-off-by: Ladislav Michl <ladis@xxxxxxxxxxxxxx> --- drivers/usb/gadget/udc/atmel_usba_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 403e06e7175f..7e2719e1f8bb 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -2326,7 +2326,7 @@ static int usba_udc_probe(struct platform_device *pdev) /* Make sure we start from a clean slate */ ret = clk_prepare_enable(pclk); if (ret) { - dev_err(&pdev->dev, "Unable to enable pclk, aborting.\n"); + dev_err(&pdev->dev, "Unable to enable pclk: %d\n", ret); return ret; } @@ -2346,7 +2346,7 @@ static int usba_udc_probe(struct platform_device *pdev) ret = devm_request_irq(&pdev->dev, irq, usba_udc_irq, 0, "atmel_usba_udc", udc); if (ret) { - dev_err(&pdev->dev, "Cannot request irq %d (error %d)\n", + dev_err(&pdev->dev, "Cannot request irq %d: %d)\n", irq, ret); return ret; } -- 2.15.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html