From: Axel Lin Date: Tue, 20 Sep 2011 07:09:00 +0000 (+0800) Subject: ASoC: fsl: Fix error handling if platform_device_add fails X-Git-Tag: v3.2-rc1~127^2~2^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d890a1a42dff2e6987f04f18fc9e467b10e99cc9;p=pandora-kernel.git ASoC: fsl: Fix error handling if platform_device_add fails Call platform_device_put() instead of platform_device_unregister() if platform_device_add() fails. Signed-off-by: Axel Lin Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed