Skip to content

Commit

Permalink
ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Nov 25, 2010
1 parent 917dac0 commit b193dee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/atmel/snd-soc-afeb9260.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b193dee

Please sign in to comment.