]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: omap - Don't prefix the probe message with OMAP
authorRomain Perier <romain.perier@free-electrons.com>
Fri, 16 Sep 2016 10:08:54 +0000 (12:08 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2016 02:27:51 +0000 (10:27 +0800)
commitc27d527839d9e5c33e4e2507d11db7d53e013ad0
treef8f4ba8e815192c3ce3d62d49b8471d79c12db6a
parent6c689fe9701eb22b4a80d4b9f9a843deb763b93a
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>
drivers/char/hw_random/omap-rng.c