Browse Source

crypto: img-hash - log a successful probe

Currently the probe function only emits an output on success
when debug is specifically enabled. It would be more useful
if this happens by default.

Signed-off-by: James Hartley <james.hartley@imgtec.com>
Reviewed-by: Will Thomas <will.thomas@imgtec.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
James Hartley 9 years ago
parent
commit
fb67740e2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/crypto/img-hash.c

+ 1 - 1
drivers/crypto/img-hash.c

@@ -1031,7 +1031,7 @@ static int img_hash_probe(struct platform_device *pdev)
 	err = img_register_algs(hdev);
 	err = img_register_algs(hdev);
 	if (err)
 	if (err)
 		goto err_algs;
 		goto err_algs;
-	dev_dbg(dev, "Img MD5/SHA1/SHA224/SHA256 Hardware accelerator initialized\n");
+	dev_info(dev, "Img MD5/SHA1/SHA224/SHA256 Hardware accelerator initialized\n");
 
 
 	return 0;
 	return 0;