MOST: cdev: rename 'mod_init' & 'mod_exit' functions to be module-specific
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 11 Jul 2021 22:31:46 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 13:46:22 +0000 (15:46 +0200)
commitddb1381018766202894b167c700e0852f52a9b9d
tree412900b25eda3da01cdb7e7f7c411f39f2eb3e7d
parent28b6a003bcdfa1fc4603b9185b247ecca7af9bef
MOST: cdev: 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>
Acked-by: Christian Gromm <christian.gromm@microchip.com>
Link: https://lore.kernel.org/r/20210711223148.5250-5-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/most/most_cdev.c