From: Andrey Shvetsov Date: Thu, 15 Sep 2016 14:19:10 +0000 (+0200) Subject: staging: most: hdm-dim2: delete error code from logging message X-Git-Tag: v4.14-rc1~2366^2~604 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cad29b4b201f97725fd41139bdd70330a5d53948;p=platform%2Fkernel%2Flinux-rpi.git staging: most: hdm-dim2: delete error code from logging message This patch removes the logging of the returned error code of function dim2_probe as it is done by the calling function. Signed-off-by: Andrey Shvetsov Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c b/drivers/staging/most/hdm-dim2/dim2_hdm.c index a20c9fd4..c7e9ca4 100644 --- a/drivers/staging/most/hdm-dim2/dim2_hdm.c +++ b/drivers/staging/most/hdm-dim2/dim2_hdm.c @@ -740,8 +740,7 @@ static int dim2_probe(struct platform_device *pdev) ret = devm_request_irq(&pdev->dev, irq, dim2_ahb_isr, 0, "mlb_ahb0", dev); if (ret) { - dev_err(&pdev->dev, "failed to request IRQ: %d, err: %d\n", - irq, ret); + dev_err(&pdev->dev, "failed to request IRQ: %d\n", irq); return ret; } init_waitqueue_head(&dev->netinfo_waitq);