From: Dan Carpenter Date: Mon, 6 Apr 2009 01:50:46 +0000 (+0200) Subject: ASoC: Fix null dereference in ak4535_remove() X-Git-Tag: v2.6.30-rc1~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09318c47b6121c8d18cee50ca7e270a8b7dfd274;p=pandora-kernel.git ASoC: Fix null dereference in ak4535_remove() ak4535_remove() from sound/soc/codecs/ak4535.c calls i2c_unregister_device() with a possibly null pointer. This bug was found by smatch (http://repo.or.cz/w/smatch.git/). Signed-off-by: Dan Carpenter Signed-off-by: Mark Brown --- Reading git-diff-tree failed