]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/samsung/spdif.c
Merge tag 'to-linus' of git://github.com/rustyrussell/linux
[karo-tx-linux.git] / sound / soc / samsung / spdif.c
index a1fee1a414c9a77f25908590bc212214e2d44766..a5a56a12034554255cbe520313268ab617eef292 100644 (file)
@@ -483,17 +483,7 @@ static struct platform_driver samsung_spdif_driver = {
        },
 };
 
-static int __init spdif_init(void)
-{
-       return platform_driver_register(&samsung_spdif_driver);
-}
-module_init(spdif_init);
-
-static void __exit spdif_exit(void)
-{
-       platform_driver_unregister(&samsung_spdif_driver);
-}
-module_exit(spdif_exit);
+module_platform_driver(samsung_spdif_driver);
 
 MODULE_AUTHOR("Seungwhan Youn, <sw.youn@samsung.com>");
 MODULE_DESCRIPTION("Samsung S/PDIF Controller Driver");