aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/most/hdm-dim2
diff options
context:
space:
mode:
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>2016-09-15 16:19:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-15 19:23:29 +0200
commitcad29b4b201f97725fd41139bdd70330a5d53948 (patch)
treeb3734aaa8b9646fad71328aa20c510cfe6a0fb29 /drivers/staging/most/hdm-dim2
parentstaging: most: hdm-dim2: rename function (diff)
downloadlinux-dev-cad29b4b201f97725fd41139bdd70330a5d53948.tar.xz
linux-dev-cad29b4b201f97725fd41139bdd70330a5d53948.zip
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 <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/hdm-dim2')
-rw-r--r--drivers/staging/most/hdm-dim2/dim2_hdm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c b/drivers/staging/most/hdm-dim2/dim2_hdm.c
index a20c9fd47a95..c7e9ca48e031 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);