Commit 299c481f authored by Corentin Labbe's avatar Corentin Labbe Committed by Herbert Xu
Browse files

crypto: rockchip - use dev_err for error message about interrupt



Interrupt is mandatory so the message should be printed as error.

Reviewed-by: default avatarJohn Keeping <john@metanate.com>
Signed-off-by: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e64f57e8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -371,8 +371,7 @@ static int rk_crypto_probe(struct platform_device *pdev)

	crypto_info->irq = platform_get_irq(pdev, 0);
	if (crypto_info->irq < 0) {
		dev_warn(crypto_info->dev,
			 "control Interrupt is not available.\n");
		dev_err(&pdev->dev, "control Interrupt is not available.\n");
		err = crypto_info->irq;
		goto err_crypto;
	}