hwrng: rename 'mod_init' & 'mod_exit' functions to be module-specific
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 11 Jul 2021 22:31:44 +0000 (15:31 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Jul 2021 07:49:36 +0000 (15:49 +0800)
commitf0d9ff8c8efb90ae335d41c2fc0d92724af55a63
tree4ad1c9fd4e9f631a474805c8c30bcdf45910da50
parentcb5f09e8148440d3581403c0415bc9678a64488d
hwrng: rename 'mod_init' & 'mod_exit' functions to be module-specific

Rename module_init & module_exit functions that are named
"mod_init" and "mod_exit" so that they are unique in both the
System.map file and in initcall_debug output instead of showing
up as almost anonymous "mod_init".

This is helpful for debugging and in determining how long certain
module_init calls take to execute.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Andres Salomon <dilinger@queued.net>
Cc: linux-geode@lists.infradead.org
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/amd-rng.c
drivers/char/hw_random/geode-rng.c
drivers/char/hw_random/intel-rng.c
drivers/char/hw_random/via-rng.c