From: Lars-Peter Clausen Date: Tue, 14 May 2013 09:05:32 +0000 (+0200) Subject: ASoC: core: Use kasprintf instead of opencoding it X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~27^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b581074357c42f63ae827ee28c9f244b91a38ac;p=pandora-kernel.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed