diff options
author | Lars-Peter Clausen <[email protected]> | 2014-02-17 13:16:55 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-02-18 10:08:18 +0900 |
commit | f96a5d3f1c09ce85ac1a90d733ca3585b9f2f70a (patch) | |
tree | 4675dffa6b16395d154e53c8a12ac003dd504d26 /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions