Skip to content

Commit

Permalink
ASoC: wm8753: remove invalid free of devm_ allocated data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tushar Behera authored and Mark Brown committed Nov 23, 2012
1 parent f4a75d2 commit ada7efe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ada7efe

Please sign in to comment.