diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-04-26 14:21:08 +0300 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2018-05-02 00:50:29 +0300 |
| commit | 1646337b866753681148db3a8878c4a062b484c5 (patch) | |
| tree | 2ffb7436e0d1862d44f66bb132c927cbe70405d0 /drivers/fpga/fpga-region.c | |
| parent | fcfd14369856af8ae34cd5b556e480cb1e39ed1a (diff) | |
| download | linux-1646337b866753681148db3a8878c4a062b484c5.tar.xz | |
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>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
