projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a75d2
)
ASoC: wm8753: remove invalid free of devm_ allocated data
author
Tushar Behera
<tushar.behera@linaro.org>
Thu, 22 Nov 2012 04:08:34 +0000
(09:38 +0530)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 23 Nov 2012 14:31:44 +0000
(23:31 +0900)
Fixes following warning.
sound/soc/codecs/wm8753.c:1594:1-6: WARNING: invalid free of devm_ allocated data
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8753.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8753.c
b/sound/soc/codecs/wm8753.c
index
2e4a775
..
9914215
100644
(file)
--- a/
sound/soc/codecs/wm8753.c
+++ b/
sound/soc/codecs/wm8753.c
@@
-1591,7
+1591,6
@@
static int __devexit wm8753_spi_remove(struct spi_device *spi)
snd_soc_unregister_codec(&spi->dev);
regmap_exit(wm8753->regmap);
- kfree(wm8753);
return 0;
}