diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-09-15 19:01:20 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-10-02 10:35:00 +0400 |
commit | 7a1ae9c0ce39d839044745956f08eabbea00d420 (patch) | |
tree | 2416a23bbdf2b9e0b96c6394662fd0834cc4fa50 /drivers/char/hw_random/geode-rng.c | |
parent | 26c3af6c1580a0a6d63cf507ad249953cfaff703 (diff) | |
download | linux-7a1ae9c0ce39d839044745956f08eabbea00d420.tar.xz |
hwrng: printk replacement
as pr_* macros are more preffered over printk, so printk replaced with corresponding pr_* macros
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/geode-rng.c')
-rw-r--r-- | drivers/char/hw_random/geode-rng.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hw_random/geode-rng.c b/drivers/char/hw_random/geode-rng.c index 4c4d4e140f98..0d0579fe465e 100644 --- a/drivers/char/hw_random/geode-rng.c +++ b/drivers/char/hw_random/geode-rng.c @@ -109,10 +109,10 @@ found: goto out; geode_rng.priv = (unsigned long)mem; - printk(KERN_INFO "AMD Geode RNG detected\n"); + pr_info("AMD Geode RNG detected\n"); err = hwrng_register(&geode_rng); if (err) { - printk(KERN_ERR PFX "RNG registering failed (%d)\n", + pr_err(PFX "RNG registering failed (%d)\n", err); goto err_unmap; } |