summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/omap-rng.c
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@free-electrons.com>2016-09-16 12:08:54 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-10-21 10:27:51 +0800
commitf0d5a11200ca7071273d4b55b3c1d2a6f24f567b (patch)
treef8f4ba8e815192c3ce3d62d49b8471d79c12db6a /drivers/char/hw_random/omap-rng.c
parente54feeb0db9c6fc5d6b75cc045c9e4578534ec2e (diff)
downloadlinux-f0d5a11200ca7071273d4b55b3c1d2a6f24f567b.tar.gz
linux-f0d5a11200ca7071273d4b55b3c1d2a6f24f567b.tar.bz2
linux-f0d5a11200ca7071273d4b55b3c1d2a6f24f567b.zip
hwrng: omap - Don't prefix the probe message with OMAP
So far, this driver was only used for OMAP SoCs. However, if a device variant is added for an IP block that has nothing to do with the OMAP platform, the message "OMAP Random Number Generator Ver" is displayed anyway. Instead of hardcoding "OMAP" into this message, we decide to only display "Random Number Generator". As dev_info is already pre-pending the message with the name of the device, we have enough informations. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/omap-rng.c')
-rw-r--r--drivers/char/hw_random/omap-rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c
index 6c18540c8b43..c64a0990feb7 100644
--- a/drivers/char/hw_random/omap-rng.c
+++ b/drivers/char/hw_random/omap-rng.c
@@ -400,7 +400,7 @@ static int omap_rng_probe(struct platform_device *pdev)
if (ret)
goto err_register;
- dev_info(&pdev->dev, "OMAP Random Number Generator ver. %02x\n",
+ dev_info(&pdev->dev, "Random Number Generator ver. %02x\n",
omap_rng_read(priv, RNG_REV_REG));
return 0;