aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/davinci/isif.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/davinci/isif.c')
-rw-r--r--drivers/media/video/davinci/isif.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/media/video/davinci/isif.c b/drivers/media/video/davinci/isif.c
index 29c29c66859..1e63852374b 100644
--- a/drivers/media/video/davinci/isif.c
+++ b/drivers/media/video/davinci/isif.c
@@ -1156,17 +1156,6 @@ static struct platform_driver isif_driver = {
.probe = isif_probe,
};
-static int __init isif_init(void)
-{
- return platform_driver_register(&isif_driver);
-}
-
-static void isif_exit(void)
-{
- platform_driver_unregister(&isif_driver);
-}
-
-module_init(isif_init);
-module_exit(isif_exit);
+module_platform_driver(isif_driver);
MODULE_LICENSE("GPL");