diff options
| author | Corentin Labbe <clabbe@baylibre.com> | 2022-09-27 07:54:39 +0000 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-10-28 12:36:32 +0800 |
| commit | 299c481fa5c121f892420d97f1123a853b7f1079 (patch) | |
| tree | 0fef153e23c1d6ce032ee981b2b65178dd399ced | |
| parent | e64f57e8cd5abe167cdf453869d6274608480519 (diff) | |
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>
| -rw-r--r-- | drivers/crypto/rockchip/rk3288_crypto.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/rockchip/rk3288_crypto.c b/drivers/crypto/rockchip/rk3288_crypto.c index 35d73061d156..45cc5f766788 100644 --- a/drivers/crypto/rockchip/rk3288_crypto.c +++ b/drivers/crypto/rockchip/rk3288_crypto.c @@ -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; } |
