From: Lars-Peter Clausen Date: Tue, 19 Aug 2014 13:51:30 +0000 (+0200) Subject: ASoC: Replace list_empty(&card->codec_dev_list) with !card->instantiated X-Git-Tag: fixes-against-v3.18-rc2~128^2~8^2~12^2~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5599b87a8317738a541d8893cb327df5d04b007;p=pandora-kernel.git ASoC: Replace list_empty(&card->codec_dev_list) with !card->instantiated With componentization we no longer necessarily need a snd_soc_codec struct for a card. Instead of checking if the card's CODEC list is empty just use card->instantiated to check if the card has been instantiated yet. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed