ASoC: checking kzalloc() for IS_ERR() instead of NULL
authorDan Carpenter <error27@gmail.com>
Sat, 9 Oct 2010 19:31:31 +0000 (21:31 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Oct 2010 11:38:21 +0000 (12:38 +0100)
commitfe3e2e7ff2da41bd7a985c4c206e05a95ebe7a6b
tree5b38eeb914e7df3a7e331b388d9c2669829172ea
parentc969f19f8fd17e600a16fe91aab66d86936cce0a
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 <error27@gmail.com>
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8804.c
sound/soc/codecs/wm8985.c