diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-10-08 15:41:38 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-11-13 14:59:46 -0800 |
commit | 9629dbdabd1983ef53f125336e1d62d77b1620f9 (patch) | |
tree | e4881679a03886773d0036d344b48ff6ae0efdb1 /drivers/clk/x86 | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | blackbird-op-linux-9629dbdabd1983ef53f125336e1d62d77b1620f9.tar.gz blackbird-op-linux-9629dbdabd1983ef53f125336e1d62d77b1620f9.zip |
clk: sprd: Use IS_ERR() to validate the return value of syscon_regmap_lookup_by_phandle()
The syscon_regmap_lookup_by_phandle() will never return NULL, thus use
IS_ERR() to validate the return value instead of IS_ERR_OR_NULL().
Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lkml.kernel.org/r/1995139bee5248ff3e9d46dc715968f212cfc4cc.1570520268.git.baolin.wang@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/x86')
0 files changed, 0 insertions, 0 deletions