Home
last modified time | relevance | path

Searched hist:"1646337 b866753681148db3a8878c4a062b484c5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/
H A Dclk-npcm7xx.cdiff 1646337b866753681148db3a8878c4a062b484c5 Thu Apr 26 06:21:08 CDT 2018 Wei Yongjun <weiyongjun1@huawei.com> clk: npcm7xx: fix return value check in npcm7xx_clk_init()

In case of error, the function ioremap() returns NULL pointer not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.

Fixes: fcfd14369856 ("clk: npcm7xx: add clock controller")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>