|
@@ -177,17 +177,7 @@ static struct platform_driver davinci_vc_driver = {
|
|
|
.remove = davinci_vc_remove,
|
|
|
};
|
|
|
|
|
|
-static int __init davinci_vc_init(void)
|
|
|
-{
|
|
|
- return platform_driver_probe(&davinci_vc_driver, davinci_vc_probe);
|
|
|
-}
|
|
|
-module_init(davinci_vc_init);
|
|
|
-
|
|
|
-static void __exit davinci_vc_exit(void)
|
|
|
-{
|
|
|
- platform_driver_unregister(&davinci_vc_driver);
|
|
|
-}
|
|
|
-module_exit(davinci_vc_exit);
|
|
|
+module_platform_driver_probe(davinci_vc_driver, davinci_vc_probe);
|
|
|
|
|
|
MODULE_AUTHOR("Miguel Aguilar");
|
|
|
MODULE_DESCRIPTION("Texas Instruments DaVinci Voice Codec Core Interface");
|