]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/txx9/txx9aclc-ac97.c
Merge git://git.infradead.org/users/willy/linux-nvme
[karo-tx-linux.git] / sound / soc / txx9 / txx9aclc-ac97.c
index a4e3f5501847ec640e2851ce4a786668044405eb..28db4ca997ca2b6c3f768de842ea84f567f4fd25 100644 (file)
@@ -223,18 +223,7 @@ static struct platform_driver txx9aclc_ac97_driver = {
        },
 };
 
-static int __init txx9aclc_ac97_init(void)
-{
-       return platform_driver_register(&txx9aclc_ac97_driver);
-}
-
-static void __exit txx9aclc_ac97_exit(void)
-{
-       platform_driver_unregister(&txx9aclc_ac97_driver);
-}
-
-module_init(txx9aclc_ac97_init);
-module_exit(txx9aclc_ac97_exit);
+module_platform_driver(txx9aclc_ac97_driver);
 
 MODULE_AUTHOR("Atsushi Nemoto <anemo@mba.ocn.ne.jp>");
 MODULE_DESCRIPTION("TXx9 ACLC AC97 driver");