Re: [PATCH v2 5/5] PCI: dwc: Save root bus for driver remove

2019-03-13 Thread Gustavo Pimentel
Hi, On 01/03/2019 05:06, Jisheng Zhang wrote: > Currently dwc host doesn't support the remove, but nothing prevent us > from supporting it. Save the root bus for clean up work in driver > remove code path. > > After this patch, the dwc host users could implement its remove as: > > static int foo

[PATCH v2 5/5] PCI: dwc: Save root bus for driver remove

2019-02-28 Thread Jisheng Zhang
Currently dwc host doesn't support the remove, but nothing prevent us from supporting it. Save the root bus for clean up work in driver remove code path. After this patch, the dwc host users could implement its remove as: static int foo_pcie_remove(struct platform_device *pdev) { ...