Re: [PATCH] pci: Rename pcibios_add_device to match

2021-09-15 Thread Niklas Schnelle
On Tue, 2021-09-14 at 01:27 +1000, Oliver O'Halloran wrote: > The general convention for pcibios_* hooks is that they're named after > the corresponding pci_* function they provide a hook for. The exception > is pcibios_add_device() which provides a hook for pci_device_add(). This > has been irrita

Re: [PATCH] pci: Rename pcibios_add_device to match

2021-09-14 Thread Bjorn Helgaas
On Tue, Sep 14, 2021 at 01:27:08AM +1000, Oliver O'Halloran wrote: > The general convention for pcibios_* hooks is that they're named after > the corresponding pci_* function they provide a hook for. The exception > is pcibios_add_device() which provides a hook for pci_device_add(). This > has been

[PATCH] pci: Rename pcibios_add_device to match

2021-09-13 Thread Oliver O'Halloran
The general convention for pcibios_* hooks is that they're named after the corresponding pci_* function they provide a hook for. The exception is pcibios_add_device() which provides a hook for pci_device_add(). This has been irritating me for years so rename it. Also, remove the export of the micr