]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: Simplify format_register_str() without stack usages
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2015 12:40:14 +0000 (14:40 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 May 2015 15:21:57 +0000 (16:21 +0100)
commitd6b6c2ca6a2fbbb39051ec1d2763a947e3283683
tree574dd1490eda7fc297798d48a1f895876b129dde
parent9e4980896c46ed84d0aa27382e18d1cacb7cb86e
ASoC: Simplify format_register_str() without stack usages

Instead of allocating two string buffers on stack and copying them
back, manipulate directly the target string buffer.  This simplifies
the code well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c