]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90158c30ca75e9bca70cad509c7d9f10aac05c2a
tree5b38eeb914e7df3a7e331b388d9c2669829172ea
parent224faec20485f7fc893d71327c1bc673aed18e03
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