Commit fe3e2e7f authored by Dan Carpenter's avatar Dan Carpenter Committed by Mark Brown
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c969f19f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment