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)
commit873581698d391ff070fc1eb8fb298c85e873c07c
treef81737ee89b76d564a316d7be9df0d5865946081
parentc517d838eb7d07bbe9507871fab3931deccff539
PCI: versatile: Check for devm_ioremap_resource() failures

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>
drivers/pci/host/pci-versatile.c