summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8753.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-11-22 09:38:34 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-23 23:31:44 +0900
commitada7efe239007075ddee9589176b46607d436d3c (patch)
tree7dceac0b1eac3339befb6658a3f0c1d3d76c5f8b /sound/soc/codecs/wm8753.c
parentf4a75d2eb7b1e2206094b901be09adb31ba63681 (diff)
downloadtalos-op-linux-ada7efe239007075ddee9589176b46607d436d3c.tar.gz
talos-op-linux-ada7efe239007075ddee9589176b46607d436d3c.zip
ASoC: wm8753: remove invalid free of devm_ allocated data
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>
Diffstat (limited to 'sound/soc/codecs/wm8753.c')
-rw-r--r--sound/soc/codecs/wm8753.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 2e4a775ae560..991421545b4a 100644
--- 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;
}
OpenPOWER on IntegriCloud