diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-17 07:16:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-17 20:08:18 -0500 |
commit | f96a5d3f1c09ce85ac1a90d733ca3585b9f2f70a (patch) | |
tree | 4675dffa6b16395d154e53c8a12ac003dd504d26 /sound/soc/blackfin | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
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/blackfin')
0 files changed, 0 insertions, 0 deletions