Home
last modified time | relevance | path

Searched hist:cd3967bee004bcbd142403698d658166fa618c9e (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/soc/ixp4xx/
H A Dixp4xx-npe.cdiff cd3967bee004bcbd142403698d658166fa618c9e Tue Jun 18 13:54:10 CEST 2019 Dan Carpenter <dan.carpenter@oracle.com> soc: ixp4xx: npe: Fix an IS_ERR() vs NULL check in probe

The devm_ioremap_resource() function doesn't return NULL, it returns
error pointers.

Fixes: 0b458d7b10f8 ("soc: ixp4xx: npe: Pass addresses as resources")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>