ASoC: core: use PTR_ERR instead of PTR_RET
authorChristoph Jaeger <christophjaeger@linux.com>
Tue, 15 Apr 2014 20:39:01 +0000 (22:39 +0200)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 16:12:35 +0000 (17:12 +0100)
PTR_RET is deprecated. PTR_ERR_OR_ZERO should be used instead. However,
we already know that IS_ERR is true, and thus PTR_ERR_OR_ZERO would
never yield zero, so we can use PTR_ERR here.

Signed-off-by: Christoph Jaeger <christophjaeger@linux.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c

Simple merge