projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
917dac0
)
ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path
author
Axel Lin
<axel.lin@gmail.com>
Thu, 25 Nov 2010 02:44:59 +0000
(10:44 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 25 Nov 2010 11:09:04 +0000
(11:09 +0000)
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>
sound/soc/atmel/snd-soc-afeb9260.c
patch
|
blob
|
history
diff --git
a/sound/soc/atmel/snd-soc-afeb9260.c
b/sound/soc/atmel/snd-soc-afeb9260.c
index e3d283561c196a8198e97d6bf2cc3b1b11987624..86e0f8586dc362f0f6edadf1995bb6176c436fe6 100644
(file)
--- 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;
}