diff options
Diffstat (limited to 'sound/soc/samsung/s3c2412-i2s.c')
-rw-r--r-- | sound/soc/samsung/s3c2412-i2s.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index f42da8df3e3c..843f315dcb3a 100644 --- a/sound/soc/samsung/s3c2412-i2s.c +++ b/sound/soc/samsung/s3c2412-i2s.c | |||
@@ -179,26 +179,14 @@ static int s3c2412_iis_dev_probe(struct platform_device *pdev) | |||
179 | } | 179 | } |
180 | 180 | ||
181 | ret = samsung_asoc_dma_platform_register(&pdev->dev); | 181 | ret = samsung_asoc_dma_platform_register(&pdev->dev); |
182 | if (ret) { | 182 | if (ret) |
183 | pr_err("failed to register the DMA: %d\n", ret); | 183 | pr_err("failed to register the DMA: %d\n", ret); |
184 | goto err; | ||
185 | } | ||
186 | 184 | ||
187 | return 0; | ||
188 | err: | ||
189 | snd_soc_unregister_component(&pdev->dev); | ||
190 | return ret; | 185 | return ret; |
191 | } | 186 | } |
192 | 187 | ||
193 | static int s3c2412_iis_dev_remove(struct platform_device *pdev) | ||
194 | { | ||
195 | snd_soc_unregister_component(&pdev->dev); | ||
196 | return 0; | ||
197 | } | ||
198 | |||
199 | static struct platform_driver s3c2412_iis_driver = { | 188 | static struct platform_driver s3c2412_iis_driver = { |
200 | .probe = s3c2412_iis_dev_probe, | 189 | .probe = s3c2412_iis_dev_probe, |
201 | .remove = s3c2412_iis_dev_remove, | ||
202 | .driver = { | 190 | .driver = { |
203 | .name = "s3c2412-iis", | 191 | .name = "s3c2412-iis", |
204 | .owner = THIS_MODULE, | 192 | .owner = THIS_MODULE, |