diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-15 14:20:00 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-15 14:20:00 +0400 |
commit | 092d40505202ebc9fdfa5582f469458c7dd62257 (patch) | |
tree | c5eef31c3f9dbbf5a127a81e8cb5b6ba252b5ac5 /sound/soc/mid-x86/mfld_machine.c | |
parent | 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff) | |
parent | 12850b8d45cb03239ede6df58ad0022aba3f3dc2 (diff) | |
download | linux-092d40505202ebc9fdfa5582f469458c7dd62257.tar.xz |
Merge remote-tracking branch 'asoc/fix/arizona' into asoc-linus
Diffstat (limited to 'sound/soc/mid-x86/mfld_machine.c')
-rw-r--r-- | sound/soc/mid-x86/mfld_machine.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sound/soc/mid-x86/mfld_machine.c b/sound/soc/mid-x86/mfld_machine.c index ee363845759e..d3d4c32434f7 100644 --- a/sound/soc/mid-x86/mfld_machine.c +++ b/sound/soc/mid-x86/mfld_machine.c @@ -400,7 +400,7 @@ static int snd_mfld_mc_probe(struct platform_device *pdev) } /* register the soc card */ snd_soc_card_mfld.dev = &pdev->dev; - ret_val = snd_soc_register_card(&snd_soc_card_mfld); + ret_val = devm_snd_soc_register_card(&pdev->dev, &snd_soc_card_mfld); if (ret_val) { pr_debug("snd_soc_register_card failed %d\n", ret_val); return ret_val; @@ -410,20 +410,12 @@ static int snd_mfld_mc_probe(struct platform_device *pdev) return 0; } -static int snd_mfld_mc_remove(struct platform_device *pdev) -{ - pr_debug("snd_mfld_mc_remove called\n"); - snd_soc_unregister_card(&snd_soc_card_mfld); - return 0; -} - static struct platform_driver snd_mfld_mc_driver = { .driver = { .owner = THIS_MODULE, .name = "msic_audio", }, .probe = snd_mfld_mc_probe, - .remove = snd_mfld_mc_remove, }; module_platform_driver(snd_mfld_mc_driver); |