summaryrefslogtreecommitdiffstats
path: root/sound/soc/dwc
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-02-17 13:16:55 +0100
committerMark Brown <broonie@linaro.org>2014-02-18 10:08:18 +0900
commitf96a5d3f1c09ce85ac1a90d733ca3585b9f2f70a (patch)
tree4675dffa6b16395d154e53c8a12ac003dd504d26 /sound/soc/dwc
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadtalos-obmc-linux-f96a5d3f1c09ce85ac1a90d733ca3585b9f2f70a.tar.gz
talos-obmc-linux-f96a5d3f1c09ce85ac1a90d733ca3585b9f2f70a.zip
ASoC: adav80x: Use devm_kzalloc()
Use devm_kzalloc() to allocate the device state struct. Saves use from having to free it manually on the error path and in the remove callback. Now that the adav80x_bus_probe() function is only a call to snd_soc_unregister_codec() also inline that. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/dwc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud