mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 02:36:49 +07:00
staging: usbip: vhci_hcd.c: rename init and exit functions
Change the prefix of the __init and __exit functions to vhci_hcd_ to correspond with the modules name. And change the suffix of the __exit function to exit instead of cleanup. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3028d0ae6c
commit
0392bbb6f6
@ -1209,7 +1209,7 @@ static struct platform_device the_pdev = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init vhci_init(void)
|
static int __init vhci_hcd_init(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@ -1233,14 +1233,14 @@ static int __init vhci_init(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __exit vhci_cleanup(void)
|
static void __exit vhci_hcd_exit(void)
|
||||||
{
|
{
|
||||||
platform_device_unregister(&the_pdev);
|
platform_device_unregister(&the_pdev);
|
||||||
platform_driver_unregister(&vhci_driver);
|
platform_driver_unregister(&vhci_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(vhci_init);
|
module_init(vhci_hcd_init);
|
||||||
module_exit(vhci_cleanup);
|
module_exit(vhci_hcd_exit);
|
||||||
|
|
||||||
MODULE_AUTHOR(DRIVER_AUTHOR);
|
MODULE_AUTHOR(DRIVER_AUTHOR);
|
||||||
MODULE_DESCRIPTION(DRIVER_DESC);
|
MODULE_DESCRIPTION(DRIVER_DESC);
|
||||||
|
Loading…
Reference in New Issue
Block a user