wireguard: main: rename 'mod_init' & 'mod_exit' functions to be module-specific
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 29 Nov 2021 15:39:23 +0000 (10:39 -0500)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Nov 2021 03:50:30 +0000 (19:50 -0800)
commitb251b711a92189d558b07fde5a7ccd5a7915ebdd
tree7cecb0716619b9ab38a5cfd76c76e408130df78d
parent782c72af567fc2ef09bd7615d0307f24de72c7e0
wireguard: main: 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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/wireguard/main.c