diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-25 10:44:59 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-25 11:09:04 +0000 |
commit | b193deead8637291138a8c1c49753ee686fa5b17 (patch) | |
tree | bee982df784d24330cc897c67373fbc48b27af29 /sound | |
parent | 917dac0ff1754776b86967b0ec1750022d9c4265 (diff) | |
download | kernel_samsung_smdk4412-b193deead8637291138a8c1c49753ee686fa5b17.zip kernel_samsung_smdk4412-b193deead8637291138a8c1c49753ee686fa5b17.tar.gz kernel_samsung_smdk4412-b193deead8637291138a8c1c49753ee686fa5b17.tar.bz2 |
ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/atmel/snd-soc-afeb9260.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/atmel/snd-soc-afeb9260.c b/sound/soc/atmel/snd-soc-afeb9260.c index e3d2835..86e0f85 100644 --- a/sound/soc/atmel/snd-soc-afeb9260.c +++ b/sound/soc/atmel/snd-soc-afeb9260.c @@ -167,7 +167,6 @@ static int __init afeb9260_soc_init(void) return 0; err1: - platform_device_del(afeb9260_snd_device); platform_device_put(afeb9260_snd_device); return err; } |