diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-09 21:31:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-11 13:38:21 +0200 |
commit | fe3e2e7ff2da41bd7a985c4c206e05a95ebe7a6b (patch) | |
tree | 5b38eeb914e7df3a7e331b388d9c2669829172ea /init | |
parent | ASoC: Compress WM8962 register access map (diff) | |
download | linux-fe3e2e7ff2da41bd7a985c4c206e05a95ebe7a6b.tar.xz linux-fe3e2e7ff2da41bd7a985c4c206e05a95ebe7a6b.zip |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions