From: Constantine Shulyupin Date: Mon, 15 Oct 2012 16:54:41 +0000 (+0200) Subject: staging: ccg: rename ccg init and exit functions to conventional names X-Git-Tag: next-20121023~24^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8d64c32b9b2dcf6b647987a04587e55be70c3676;p=karo-tx-linux.git staging: ccg: rename ccg init and exit functions to conventional names Previous names of init and exit functions "init" and "cleanup" are unconventional and are not friendly for source navigation with tags. New names "ccg_init" and "ccg_exit" are conveninal and source navigation friendly. Signed-off-by: Constantine Shulyupin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c index 93e1e2ffca0c..ffc5f73a5b5b 100644 --- a/drivers/staging/ccg/ccg.c +++ b/drivers/staging/ccg/ccg.c @@ -1239,7 +1239,7 @@ static int ccg_create_device(struct ccg_dev *dev) } -static int __init init(void) +static int __init ccg_init(void) { struct ccg_dev *dev; int err; @@ -1280,13 +1280,13 @@ static int __init init(void) return err; } -module_init(init); +module_init(ccg_init); -static void __exit cleanup(void) +static void __exit ccg_exit(void) { usb_composite_unregister(&ccg_usb_driver); class_destroy(ccg_class); kfree(_ccg_dev); _ccg_dev = NULL; } -module_exit(cleanup); +module_exit(ccg_exit);