diff options
author | Stephen Warren | 2013-11-25 15:12:47 -0700 |
---|---|---|
committer | Mark Brown | 2013-11-26 13:16:31 +0000 |
commit | 6b8e090ecc3dc977fe2eabf6e50bb3870de9ebac (patch) | |
tree | 135b6df97750ad18ffec09a30c0d8fc902678a52 /sound | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
regmap: use IS_ERR() to check clk_get() results
clk_get() returns an error pointer, or a valid token to pass back to the
clock API. Hence, the result must be checked with IS_ERR(), not by
comparison against NULL.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions