diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-10-11 13:50:23 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-10-19 13:22:43 +0300 |
commit | 7bdeb7f52b1b193bb50fc6d01c6110ba50bafb5b (patch) | |
tree | f51ac6c8e5f86fdeea99582bd3ece222567f451c /kernel/irq | |
parent | 215f4cc0fb208665dd15a524ec57edf4d7e215e6 (diff) | |
download | linux-7bdeb7f52b1b193bb50fc6d01c6110ba50bafb5b.tar.xz |
irqchip/aspeed-i2c-ic: Fix return value check in aspeed_i2c_ic_of_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..
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions