crypto: rockchip - use dev_err for error message about interrupt
Interrupt is mandatory so the message should be printed as error. Reviewed-by: John Keeping <john@metanate.com> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
e64f57e8cd
commit
299c481fa5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user