Home
last modified time | relevance | path

Searched hist:"7 bdeb7f52b1b193bb50fc6d01c6110ba50bafb5b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/irqchip/
H A Dirq-aspeed-i2c-ic.cdiff 7bdeb7f52b1b193bb50fc6d01c6110ba50bafb5b Wed Oct 11 05:50:23 CDT 2017 Wei Yongjun <weiyongjun1@huawei.com> 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>