Browse Source

crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog

The Cryp driver is currently silent and the Hash driver prints the
name of its probe function unnecessarily. Let's just put a nice
descriptive one-liner there instead.

Cc: David S. Miller <davem@davemloft.net>
Cc: Andreas Westin <andreas.westin@stericsson.com>
Cc: linux-crypto@vger.kernel.org
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Lee Jones 12 years ago
parent
commit
de97630d52
2 changed files with 3 additions and 1 deletions
  1. 2 0
      drivers/crypto/ux500/cryp/cryp_core.c
  2. 1 1
      drivers/crypto/ux500/hash/hash_core.c

+ 2 - 0
drivers/crypto/ux500/cryp/cryp_core.c

@@ -1541,6 +1541,8 @@ static int ux500_cryp_probe(struct platform_device *pdev)
 		goto out_power;
 	}
 
+	dev_info(dev, "successfully registered\n");
+
 	return 0;
 
 out_power:

+ 1 - 1
drivers/crypto/ux500/hash/hash_core.c

@@ -1772,7 +1772,7 @@ static int ux500_hash_probe(struct platform_device *pdev)
 		goto out_power;
 	}
 
-	dev_info(dev, "[%s] successfully probed\n", __func__);
+	dev_info(dev, "successfully registered\n");
 	return 0;
 
 out_power: