From: Wei Yongjun Date: Fri, 25 Oct 2013 09:06:24 +0000 (+0800) Subject: ASoC: samsung: fix return value check in i2s_alloc_dai() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2^2~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29ca9c73e54131c9ad90c5381f368d9b09b5aca4;p=pandora-kernel.git ASoC: samsung: fix return value check in i2s_alloc_dai() In case of error, the function platform_device_alloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Mark Brown --- Reading git-diff-tree failed