From: Srinivas Kandagatla Date: Tue, 9 Jun 2015 13:34:21 +0000 (+0100) Subject: ASoC: qcom: storm: allocate snd_soc_card struct dynamically. X-Git-Tag: omap-for-v4.3/legacy-v2-signed~142^2~2^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21e904bcf9b2e57e0599e9dddff558ffd0ce5f59;p=pandora-kernel.git ASoC: qcom: storm: allocate snd_soc_card struct dynamically. This patch moves static allocation of snd_soc_card to dynamic allocation, the reason to do this is to avoid holding up any dangling pointers in this static structures. And I see no use for having this struct as static given that the card->name is also populated dynamically from dt. Signed-off-by: Srinivas Kandagatla Signed-off-by: Mark Brown --- Reading git-diff-tree failed