diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-09-15 20:31:20 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-10-02 14:35:00 +0800 |
commit | 7a1ae9c0ce39d839044745956f08eabbea00d420 (patch) | |
tree | 2416a23bbdf2b9e0b96c6394662fd0834cc4fa50 /drivers/char/hw_random/amd-rng.c | |
parent | 26c3af6c1580a0a6d63cf507ad249953cfaff703 (diff) | |
download | op-kernel-dev-7a1ae9c0ce39d839044745956f08eabbea00d420.zip op-kernel-dev-7a1ae9c0ce39d839044745956f08eabbea00d420.tar.gz |
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/amd-rng.c')
-rw-r--r-- | drivers/char/hw_random/amd-rng.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hw_random/amd-rng.c b/drivers/char/hw_random/amd-rng.c index c6af038..48f6a83 100644 --- a/drivers/char/hw_random/amd-rng.c +++ b/drivers/char/hw_random/amd-rng.c @@ -142,10 +142,10 @@ found: amd_rng.priv = (unsigned long)pmbase; amd_pdev = pdev; - printk(KERN_INFO "AMD768 RNG detected\n"); + pr_info("AMD768 RNG detected\n"); err = hwrng_register(&amd_rng); if (err) { - printk(KERN_ERR PFX "RNG registering failed (%d)\n", + pr_err(PFX "RNG registering failed (%d)\n", err); release_region(pmbase + 0xF0, 8); goto out; |