diff options
author | Dan Carpenter | 2019-06-18 14:54:10 +0300 |
---|---|---|
committer | Olof Johansson | 2019-06-18 06:47:59 -0700 |
commit | cd3967bee004bcbd142403698d658166fa618c9e (patch) | |
tree | 9626bcbde0016f7707b34adfbd9904eea8d39f06 /usr/Makefile | |
parent | 140d90098fed269eac61551b4e84fdbcc917843e (diff) |
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>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions