MIPS: Loongson 3: Use temporary struct resource * to avoid repetition
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Mar 2016 03:38:29 +0000 (21:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 12 Mar 2016 12:00:29 +0000 (06:00 -0600)
commit53f0a509775dae77dab64d0b858635a70e3d6f4f
treecb0462dbb940b2c12b0ffb466484820dd523b383
parent240504adaf0798a5ab18fac46ae782d3b004859f
MIPS: Loongson 3: Use temporary struct resource * to avoid repetition

Use a temporary struct resource pointer to avoid needless repetition of
"pdev->resource[PCI_ROM_RESOURCE]".  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/mips/pci/fixup-loongson3.c