commit | b7580cde704920da69e50d133cea16eca77ff3bd | [log] [tgz] |
---|---|---|
author | Christoph Jaeger <christophjaeger@linux.com> | Tue Apr 15 22:39:01 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Fri Apr 18 17:12:35 2014 +0100 |
tree | 21af14dc53f6681fd7737d8cb9b5238ad53cc8a2 | |
parent | aa0258adf6078a41a3db06f4e498253aff64d151 [diff] |
ASoC: core: use PTR_ERR instead of PTR_RET 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>