Re: [PATCH v2 2/4] lib: move pci-specific devres code to drivers/pci/

From: Arnd Bergmann
Date: Fri Dec 01 2023 - 17:32:10 EST


On Fri, Dec 1, 2023, at 20:00, Philipp Stanner wrote:
>
> The devres functions have different compile rules than the iomap
> functions have.
>
> I would dislike it very much to need yet another preprocessor
> instruction, especially if we're talking about #ifdef PCI within the
> very PCI driver.

Ah right, I had forgotten about s390 zpci being special here,
otherwise we wouldn't need an #ifdef here.

Arnd