Commit 9ce9a5d5 authored by Chen Zhou's avatar Chen Zhou Committed by Herbert Xu
Browse files

crypto: allwinner - remove redundant platform_get_irq error message



Function dev_err() after platform_get_irq() is redundant because
platform_get_irq() already prints an error.

Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 00adbe71
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -565,10 +565,8 @@ static int sun8i_ce_probe(struct platform_device *pdev)

	/* Get Non Secure IRQ */
	irq = platform_get_irq(pdev, 0);
	if (irq < 0) {
		dev_err(ce->dev, "Cannot get CryptoEngine Non-secure IRQ\n");
	if (irq < 0)
		return irq;
	}

	ce->reset = devm_reset_control_get(&pdev->dev, NULL);
	if (IS_ERR(ce->reset)) {