diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-04 06:34:43 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-03-12 15:14:24 -0700 |
commit | 55c19eee3b471e7ca7e38783836f7b7137c9d14f (patch) | |
tree | 51b0d70ded7d45bd6c401d74dc60b697fde98166 /drivers/block/swim3.c | |
parent | 9903e41ae1f5d50c93f268ca3304d4d7c64b9311 (diff) | |
download | linux-55c19eee3b471e7ca7e38783836f7b7137c9d14f.tar.bz2 |
clk: qcom: msm8916: Fix return value check in qcom_apcs_msm8916_clk_probe()
In case of error, the function dev_get_regmap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: 81ac38847a1d ("clk: qcom: Add APCS clock controller support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/block/swim3.c')
0 files changed, 0 insertions, 0 deletions