Commit cad29b4b authored by Andrey Shvetsov's avatar Andrey Shvetsov Committed by Greg Kroah-Hartman
Browse files

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: default avatarAndrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 055f1d12
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);