From: James Hartley Date: Fri, 5 Aug 2016 13:00:19 +0000 (+0100) Subject: crypto: img-hash - log a successful probe X-Git-Tag: v4.9-rc1~53^2~116 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fb67740e2fb82c97cca6df24882df4e7c898aae4;p=karo-tx-linux.git 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 Reviewed-by: Will Thomas Signed-off-by: Herbert Xu --- 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;