Skip to content

Commit

Permalink
crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lee Jones authored and Linus Walleij committed May 23, 2013
1 parent 75dc689 commit de97630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/crypto/ux500/cryp/cryp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion drivers/crypto/ux500/hash/hash_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit de97630

Please sign in to comment.