Re: [PATCH 07/10] pci: devres: give mwi its own callback

2024-01-16 Thread Bjorn Helgaas
On Mon, Jan 15, 2024 at 03:46:18PM +0100, Philipp Stanner wrote: > managing mwi with devres can easily be done with its own callback, > without the necessity to store any state about it in a device-related > struct. s/managing/Managing/ s/mwi/MWI/ since this is an initialism. Also in subject

[PATCH 07/10] pci: devres: give mwi its own callback

2024-01-15 Thread Philipp Stanner
managing mwi with devres can easily be done with its own callback, without the necessity to store any state about it in a device-related struct. Remove the mwi state from the devres-struct. Make the devres-mwi functions set a separate devres-callback. Signed-off-by: Philipp Stanner ---