aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/pnx4008/sdum.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/pnx4008/sdum.c')
-rw-r--r--drivers/video/pnx4008/sdum.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/pnx4008/sdum.c b/drivers/video/pnx4008/sdum.c
index 50e00395240..c5c741452ca 100644
--- a/drivers/video/pnx4008/sdum.c
+++ b/drivers/video/pnx4008/sdum.c
@@ -856,17 +856,6 @@ static struct platform_driver sdum_driver = {
.resume = sdum_resume,
};
-int __init sdum_init(void)
-{
- return platform_driver_register(&sdum_driver);
-}
-
-static void __exit sdum_exit(void)
-{
- platform_driver_unregister(&sdum_driver);
-};
-
-module_init(sdum_init);
-module_exit(sdum_exit);
+module_platform_driver(sdum_driver);
MODULE_LICENSE("GPL");