]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/samsung/s3c24xx_uda134x.c
ASoC: wm8996: Call _POST_PMU callback for CPVDD
[karo-tx-linux.git] / sound / soc / samsung / s3c24xx_uda134x.c
index 548c6ac6e7b06bdc5e9da816836a6bf3a90b7b6a..d731042e51b07db12aff2adc6685d97f3af6e00e 100644 (file)
@@ -229,6 +229,7 @@ static struct snd_soc_dai_link s3c24xx_uda134x_dai_link = {
 
 static struct snd_soc_card snd_soc_s3c24xx_uda134x = {
        .name = "S3C24XX_UDA134X",
+       .owner = THIS_MODULE,
        .dai_link = &s3c24xx_uda134x_dai_link,
        .num_links = 1,
 };
@@ -343,19 +344,7 @@ static struct platform_driver s3c24xx_uda134x_driver = {
        },
 };
 
-static int __init s3c24xx_uda134x_init(void)
-{
-       return platform_driver_register(&s3c24xx_uda134x_driver);
-}
-
-static void __exit s3c24xx_uda134x_exit(void)
-{
-       platform_driver_unregister(&s3c24xx_uda134x_driver);
-}
-
-
-module_init(s3c24xx_uda134x_init);
-module_exit(s3c24xx_uda134x_exit);
+module_platform_driver(s3c24xx_uda134x_driver);
 
 MODULE_AUTHOR("Zoltan Devai, Christian Pellegrin <chripell@evolware.org>");
 MODULE_DESCRIPTION("S3C24XX_UDA134X ALSA SoC audio driver");