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>
This commit is contained in:
parent
f4a75d2eb7
commit
ada7efe239
@ -1591,7 +1591,6 @@ static int __devexit wm8753_spi_remove(struct spi_device *spi)
|
|||||||
|
|
||||||
snd_soc_unregister_codec(&spi->dev);
|
snd_soc_unregister_codec(&spi->dev);
|
||||||
regmap_exit(wm8753->regmap);
|
regmap_exit(wm8753->regmap);
|
||||||
kfree(wm8753);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user