commit | 4f8f7809e47b6af17032aad66f84d7c16444bd05 | [log] [tgz] |
---|---|---|
author | weiyongjun (A) <weiyongjun1@huawei.com> | Thu Dec 28 02:40:49 2017 +0000 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Dec 28 10:42:05 2017 -0800 |
tree | be0c3486a084989675a7f6eb902e350f92890259 | |
parent | 70d7aebe63985808b604c20a17875a7f07f16900 [diff] |
clk: meson-axg: fix return value check in axg_clkc_probe() In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 78b4af312f91 ("clk: meson-axg: add clock controller drivers") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>