Re: [PATCH v1 2/2] PCI: Remove redundant probes for device reset support

2018-02-19 Thread Rafael J. Wysocki
On Friday, February 16, 2018 11:50:18 PM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > We probe every device for whether it supports reset so we can tell whether > to create a sysfs "reset" file for it. We do that probe in > pci_init_capabilities() during enumeration and save the result in

[PATCH v1 2/2] PCI: Remove redundant probes for device reset support

2018-02-16 Thread Bjorn Helgaas
From: Bjorn Helgaas We probe every device for whether it supports reset so we can tell whether to create a sysfs "reset" file for it. We do that probe in pci_init_capabilities() during enumeration and save the result in dev->reset_fn. The result doesn't depend on any other devices on the bus an