From: Dan Carpenter Date: Sat, 9 Oct 2010 19:31:31 +0000 (+0200) Subject: ASoC: checking kzalloc() for IS_ERR() instead of NULL X-Git-Tag: v2.6.37-rc1~126^2~1^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe3e2e7ff2da41bd7a985c4c206e05a95ebe7a6b;p=pandora-kernel.git ASoC: checking kzalloc() for IS_ERR() instead of NULL There is a typo here that got copy and pasted to several probe functions. kzalloc() returns NULL on allocation failures and not an ERR_PTR. Signed-off-by: Dan Carpenter Acked-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed