On Fri, Apr 26, 2013 at 3:00 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote: > > acpi_pci_root_remove > pci_stop_root_bus > device_del(&host_bridge->dev) > pci_remove_root_bus > put_device(&host_bridge->dev) > > This seems unnecessarily difficult to analyze. It would be better if > we had symmetric device_register()/device_unregister() paths, or if > that can't be done, symmetric device_add()/device_del() paths. > > Don't bother to generate a quick patch to just replace > device_register() with explicit calls to device_initialize() and > device_add(), though. Maybe someday we can clean up that and more. > Anyway, thanks for fixing my confusion. Yes, Jiang Liu at some pointer to split device_register() to device_add and put device. but is get dropped ... -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html