diff options
author | James Hartley <james.hartley@imgtec.com> | 2016-08-05 14:00:19 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-09 18:47:22 +0800 |
commit | fb67740e2fb82c97cca6df24882df4e7c898aae4 (patch) | |
tree | a45ef762b03ac23942f14b7f1b76f8a5d36e147a | |
parent | 436e3bb52b5b8f0823746cb06e6385d0db7f0811 (diff) | |
download | linux-stable-fb67740e2fb82c97cca6df24882df4e7c898aae4.tar.gz linux-stable-fb67740e2fb82c97cca6df24882df4e7c898aae4.tar.bz2 linux-stable-fb67740e2fb82c97cca6df24882df4e7c898aae4.zip |
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>
-rw-r--r-- | drivers/crypto/img-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/img-hash.c b/drivers/crypto/img-hash.c index fd4cd5120f9e..60410d79bbc5 100644 --- a/drivers/crypto/img-hash.c +++ b/drivers/crypto/img-hash.c @@ -1031,7 +1031,7 @@ static int img_hash_probe(struct platform_device *pdev) err = img_register_algs(hdev); if (err) 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; |