PCI: versatile: Check for devm_ioremap_resource() failures
authorJisheng Zhang <jszhang@marvell.com>
Fri, 3 Apr 2015 13:17:05 +0000 (21:17 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Apr 2015 19:27:06 +0000 (14:27 -0500)
Check for failure of devm_ioremap_resource().

devm_ioremap_resource() validates the resource it receives, so if we check
for devm_ioremap_resource() failure, we need not check for failure of the
preceding platform_get_resource().

[bhelgaas: changelog]
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found