PCI: imx6: Remove unneeded check of platform_get_resource()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Dec 2013 03:39:34 +0000 (01:39 -0200)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 9 Dec 2013 21:38:11 +0000 (14:38 -0700)
commitebb034a4ce9fc37877b3df2b85b9c33d43349586
tree25dfea2f864139b4addde00cbdb8c080b591faba
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
PCI: imx6: Remove unneeded check of platform_get_resource()

When using devm_ioremap_resource(), we do not need to check the return
value of platform_get_resource(), so just remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/pci/host/pci-imx6.c