aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-15 05:51:41 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-05-23 15:14:22 -0400
commitde97630d52069c96476dc156badaf1e2f74c55d5 (patch)
tree839589b9c7d1e1961525b94579fdaa0561c777d9
parent75dc6893f5eaf42ddb9cbab841d29a68079f799a (diff)
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>
-rw-r--r--drivers/crypto/ux500/cryp/cryp_core.c2
-rw-r--r--drivers/crypto/ux500/hash/hash_core.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c
index d9c863d5ba7d..4f8b11af29a6 100644
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -1541,6 +1541,8 @@ static int ux500_cryp_probe(struct platform_device *pdev)
1541 goto out_power; 1541 goto out_power;
1542 } 1542 }
1543 1543
1544 dev_info(dev, "successfully registered\n");
1545
1544 return 0; 1546 return 0;
1545 1547
1546out_power: 1548out_power:
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c
index 62695764de1c..9ca6fbb5e30d 100644
--- a/drivers/crypto/ux500/hash/hash_core.c
+++ b/drivers/crypto/ux500/hash/hash_core.c
@@ -1772,7 +1772,7 @@ static int ux500_hash_probe(struct platform_device *pdev)
1772 goto out_power; 1772 goto out_power;
1773 } 1773 }
1774 1774
1775 dev_info(dev, "[%s] successfully probed\n", __func__); 1775 dev_info(dev, "successfully registered\n");
1776 return 0; 1776 return 0;
1777 1777
1778out_power: 1778out_power: