PCI: Move pci_map_rom() error path
authorChangbin Du <changbin.du@intel.com>
Wed, 8 Nov 2017 00:22:26 +0000 (18:22 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Nov 2017 20:47:06 +0000 (14:47 -0600)
commita48a687d8cdf9a51a6283cc91f9637403b221ed3
tree9294785347a423b2f82ff21ede4a9d5e24c03a0a
parentfa564ad9636651fd11ec2c79c48dee844066f73a
PCI: Move pci_map_rom() error path

Move pci_map_rom() error code to the end to prepare for adding another
error path.  No functional change intended.

Signed-off-by: Changbin Du <changbin.du@intel.com>
[bhelgaas: split non-functional change into separate patch]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/rom.c