Re: [PATCH 09/13] ata: Use always-managed version of pci_intx()

From: Niklas Cassel
Date: Thu Oct 17 2024 - 03:51:33 EST


On Tue, Oct 15, 2024 at 08:51:19PM +0200, Philipp Stanner wrote:
> pci_intx() is a hybrid function which can sometimes be managed through
> devres. To remove this hybrid nature from pci_intx(), it is necessary to
> port users to either an always-managed or a never-managed version.
>
> All users in ata enable their PCI-Device with pcim_enable_device(). Thus,
> they need the always-managed version.
>
> Replace pci_intx() with pcim_intx().
>
> Signed-off-by: Philipp Stanner <pstanner@xxxxxxxxxx>
> ---

Acked-by: Niklas Cassel <cassel@xxxxxxxxxx>