summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-11-25 23:12:47 +0100
committerMark Brown <broonie@linaro.org>2013-11-26 14:16:31 +0100
commit6b8e090ecc3dc977fe2eabf6e50bb3870de9ebac (patch)
tree135b6df97750ad18ffec09a30c0d8fc902678a52 /drivers/base/regmap/regmap.c
parentLinux 3.13-rc1 (diff)
downloadlinux-6b8e090ecc3dc977fe2eabf6e50bb3870de9ebac.tar.xz
linux-6b8e090ecc3dc977fe2eabf6e50bb3870de9ebac.zip
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 'drivers/base/regmap/regmap.c')
0 files changed, 0 insertions, 0 deletions