diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-06 08:31:08 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-05-16 19:53:11 +0200 |
commit | c180d710ee7af111d75886a3339fc82a65d25c69 (patch) | |
tree | 9779d6bffed17cfbaf45c32e50a880bf6136785e /arch/arm/mach-ixp4xx/miccpt-pci.c | |
parent | Merge tag 'armsoc-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
download | linux-c180d710ee7af111d75886a3339fc82a65d25c69.tar.xz linux-c180d710ee7af111d75886a3339fc82a65d25c69.zip |
soc: ixp4xx: qmgr: Fix an NULL vs IS_ERR() check in probe
The devm_ioremap_resource() function doesn't retunr NULL, it returns
error pointers.
Fixes: ecc133c6da60 ("soc: ixp4xx: qmgr: Pass resources")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-ixp4xx/miccpt-pci.c')
0 files changed, 0 insertions, 0 deletions