]> git.baikalelectronics.ru Git - kernel.git/commit
microblaze/PCI: fix pci_bus_for_each_resource() usage
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:26:36 +0000 (16:26 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 6 Jan 2012 20:10:59 +0000 (12:10 -0800)
commitbc250f667d1387732dce7ab7265d130e6c754c45
treee1e7ed4fd3741b4f047cb8a5943d21bae304aed9
parentc21ddc8ad233ba24b30d87b514dc0955c46cd026
microblaze/PCI: fix pci_bus_for_each_resource() usage

The pci_bus_for_each_resource() iterator sets "res" itself, so there's
no need to look it up in the bus->resource[] table.

Logically part of 5a60217c6a and 34c09f4ec7.

CC: Michal Simek <monstr@monstr.eu>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/microblaze/pci/pci-common.c