diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-14 11:05:32 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-14 14:52:52 +0200 |
commit | 2b581074357c42f63ae827ee28c9f244b91a38ac (patch) | |
tree | 9b809dd8b56bcfc88393328f58919ca9a8215109 /sound/soc/soc-utils.c | |
parent | ASoC: core: Add helper function to initialize the runtime pcm (diff) | |
download | linux-2b581074357c42f63ae827ee28c9f244b91a38ac.tar.xz linux-2b581074357c42f63ae827ee28c9f244b91a38ac.zip |
ASoC: core: Use kasprintf instead of opencoding it
kasprintf calculates the size of the result string, allocates a buffer large
enough to hold the string and then performs the format string operation. There
are a couple of places in ASoC where these three steps are done by hand and
where kasprintf can be used instead.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-utils.c')
0 files changed, 0 insertions, 0 deletions