From: Timur Tabi Date: Fri, 14 Sep 2012 21:14:34 +0000 (-0500) Subject: ASoC: fsl: use snd_soc_register_card to register the card X-Git-Tag: v3.7-rc1~81^2~14^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13c57e5b868b4f023f6436d8c6a079eaffd7f3a8;p=pandora-kernel.git ASoC: fsl: use snd_soc_register_card to register the card Use snd_soc_register_card() instead of platform_device_alloc("soc-audio") to register the sound card from the machine drivers. The use of platform_device_alloc is deprecated. Although several other drivers still use platform_device_alloc(), the Freescale drivers were not using it to pass driver data. Instead of fixing the driver data usage, it's better to replace the deprecated code. Signed-off-by: Timur Tabi Signed-off-by: Mark Brown --- Reading git-diff-tree failed