From: Mark McLoughlin Date: Tue, 7 Jul 2009 07:26:45 +0000 (+0100) Subject: virtio-pci: correctly unregister root device on error X-Git-Tag: v2.6.31-rc4~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b892e6582e3a4fe01f623aea386907270d5bf83;p=pandora-kernel.git virtio-pci: correctly unregister root device on error If pci_register_driver() fails we're incorrectly unregistering the root device with device_unregister() rather than root_device_unregister(). Reported-by: Don Zickus Signed-off-by: Mark McLoughlin Signed-off-by: Rusty Russell --- Reading git-diff-tree failed