|
@@ -480,19 +480,7 @@ static struct platform_driver uio_fsl_elbc_gpcm_driver = {
|
|
|
.probe = uio_fsl_elbc_gpcm_probe,
|
|
|
.remove = uio_fsl_elbc_gpcm_remove,
|
|
|
};
|
|
|
-
|
|
|
-static int __init uio_fsl_elbc_gpcm_init(void)
|
|
|
-{
|
|
|
- return platform_driver_register(&uio_fsl_elbc_gpcm_driver);
|
|
|
-}
|
|
|
-
|
|
|
-static void __exit uio_fsl_elbc_gpcm_exit(void)
|
|
|
-{
|
|
|
- platform_driver_unregister(&uio_fsl_elbc_gpcm_driver);
|
|
|
-}
|
|
|
-
|
|
|
-module_init(uio_fsl_elbc_gpcm_init);
|
|
|
-module_exit(uio_fsl_elbc_gpcm_exit);
|
|
|
+module_platform_driver(uio_fsl_elbc_gpcm_driver);
|
|
|
|
|
|
MODULE_LICENSE("GPL");
|
|
|
MODULE_AUTHOR("John Ogness <john.ogness@linutronix.de>");
|