]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
crypto: ux500/[cryp|hash] - Show successful start-up in the bootlog
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:41 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:14:22 +0000 (21:14 +0200)
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>
drivers/crypto/ux500/cryp/cryp_core.c
drivers/crypto/ux500/hash/hash_core.c

index d9c863d5ba7d6da0c03ee7e5e45f86fcb8987755..4f8b11af29a6fcf09980ecce215d4ad75900dc3c 100644 (file)
@@ -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:
index 62695764de1c23fda7a892fdbfb748d34c7704d6..9ca6fbb5e30d6a992c077ffd666b65dc560c1d5f 100644 (file)
@@ -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: