diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-05 01:41:01 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-26 16:22:48 -0800 |
commit | accf475a5ece972af58c81e0742035ed90ad41d2 (patch) | |
tree | bda97d685702c283211fd7d7113df427811eacfe /drivers/clk/Kconfig | |
parent | f798983982386a3f36ecc4bbdad2657d38bad3e3 (diff) | |
download | kernel_replicant_linux-accf475a5ece972af58c81e0742035ed90ad41d2.tar.gz kernel_replicant_linux-accf475a5ece972af58c81e0742035ed90ad41d2.tar.bz2 kernel_replicant_linux-accf475a5ece972af58c81e0742035ed90ad41d2.zip |
clk: aspeed: Fix return value check in aspeed_cc_init()
In case of error, the function of_iomap() returns NULL pointer not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: a2e230c7b2ea ("clk: Add clock driver for ASPEED BMC SoCs")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/Kconfig')
0 files changed, 0 insertions, 0 deletions