On Thu 06 Jun 2013 04:07:18 AM CST, Bjorn Helgaas wrote:
On Sat, May 25, 2013 at 7:48 AM, Jiang Liu liu...@gmail.com wrote:
From: Gu Zheng guz.f...@cn.fujitsu.com
Use the new pci_alloc_dev(bus) to replace the existing using of
alloc_pci_dev(void).
...
diff --git a/drivers/pci/probe.c
From: Gu Zheng guz.f...@cn.fujitsu.com
Use the new pci_alloc_dev(bus) to replace the existing using of
alloc_pci_dev(void).
v2:
Follow Bjorn's correction to move pci_bus_put() to
pci_release_dev() instead.
v3:
release reference to bus on error recovery path
Signed-off-by: Gu Zheng